-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
70 lines (65 loc) · 2.36 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>LetsRec</title>
<meta http-equiv="Content-Security-Policy" content="default-src 'unsafe-inline' 'self'; img-src 'self' data:">
<link href="./deps/fontawesome/fontawesome.css" rel="stylesheet" />
<link href="./src/ui/css/main.css" rel="stylesheet" />
</head>
<body>
<div id="main">
<div id="controls">
<div id="timer">00:00:00</div>
<div>
<button id="controls-record" class="btn-primary btn-large"><i class="fas fa-play fa-fw"></i></button>
<button id="controls-options" class="btn-primary btn-large"><i class="fas fa-cog fa-fw"></i></button>
</div>
</div>
<div id="options" style="display: none">
<label>Microphone</label>
<select id="mics" class="mb-3"></select>
<label>Webcam</label>
<select id="webcams" class="mb-2"></select>
<div class="mb-3" style="display: flex">
<div style="flex: 1 1 auto" class="mr-3">
<select id="webcam-size">
<option value="720">HD (720p)</option>
<option value="1080">Full HD (1080p)</option>
</select>
</div>
<div style="flex: 1 1 auto" class="mr-3">
<select id="webcam-fps">
<option value="24">24 fps</option>
<option value="29.97">29.97 fps</option>
<option value="30">30 fps</option>
<option value="50">50 fps</option>
<option value="60">60 fps</option>
</select>
</div>
<div style="flex: 1 1 auto">
<button id="webcam-config" class="btn-primary btn-block">Config...</button>
</div>
</div>
<label>Output folder</label>
<div class="mb-3" style="display: flex">
<div style="flex: 0.8 1 auto" class="mr-3">
<input type="text" id="folder">
</div>
<div style="flex: 0.2 1 auto">
<button id="folder-browse" class="btn-primary btn-block">Browse...</button>
</div>
</div>
<label>Filename</label>
<input type="text" id="filename">
<div class="help mb-3">The name of the generated file. %t will be replace by the date and time.</div>
</div>
<div class="progress">
<div id="vu" class="progress-bar" role="progressbar" style="transition: none; width: 0%;" aria-valuenow="-40" aria-valuemin="-40" aria-valuemax="0"></div>
</div>
<video autoplay="true" id="webcam" style="width: 100%"></video>
</div>
<script>require('./src/start.js')</script>
</body>
</html>