-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
41 lines (41 loc) · 1.54 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
31
32
33
34
35
36
37
38
39
40
41
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
<title>Grab Audio</title>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<link rel='stylesheet' type='text/css' media='screen' href='main.css'>
<!-- <script src='audio.js'></script> -->
<script src='video.js'></script>
</head>
<body>
<div class='container'>
<video autoplay></video>
<p id='prompt1'>Please Capture Video To Get Started</p>
<div>
<h3>Screenshotter</h3>
<button class='capture'>Capture video</button>
<button id='screenshot' disabled>Screenshot</button>
<button class='download' disabled>Download</button>
<label for="select"> Format </label>
<select id="select" onchange='onFormatChange()'>
<option value='.png'>PNG</option>
<option value='.jpeg'>JPEG</option>
<option value='.jpg'>JPG</option>
<option value='.tiff'>TIFF</option>
</select>
<button id='clear' onclick="clearAll()" disabled>Clear All</button>
</div>
<div class='imgContainer'>
<p id='prompt2'>Click 'Screenshot' to take a picture.</p>
<img src=''>
</div>
</div>
<br/>
<label id='c2Label' for='fileUpload'>Upload Background Image</label>
<input id='fileUpload' type='file' onchange='uploadBackground()' style="visibility: hidden;"/>
<img id='upload' src=''>
<canvas id='canvasTwo'></canvas>
</body>
</html>