-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
30 lines (30 loc) · 1.13 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!DOCTYPE html>
<html lang="en">
<head>
<title>EzCapture</title>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<script src="https://cdn.jsdelivr.net/npm/[email protected]/umd/comlink.js"></script>
<script src="/script.js" async></script>
<!-- import the webpage's stylesheet -->
<link rel="stylesheet" href="/style.css" />
</head>
<body>
<h1>EzCapture</h1>
<p id="warning">
Enable chrome://flags/#enable-experimental-web-platform-features
</p>
<video id="videoElement" autoplay muted></video>
<br />
<button id="captureBtn">Capture</button>
<button id="startBtn" disabled>Start Recording</button>
<button id="stopBtn" disabled>Stop Capture</button>
<br />
<input type="checkbox" id="audioToggle" />
<label for="audioToggle">Capture Audio from Desktop</label>
<input type="checkbox" id="micAudioToggle" />
<label for="micAudioToggle">Capture Audio from Microphone</label>
<a id="download" href="#" style="display: none;">Download</a>
</body>
</html>