-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
45 lines (40 loc) · 1.42 KB
/
index.html
File metadata and controls
45 lines (40 loc) · 1.42 KB
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
<!DOCTYPE html>
<html>
<head>
<title>Webcam Viewer</title>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<div id="deviceSelection" class="device-selection">
<div class="selection-panel">
<h2>Select Camera and Microphone</h2>
<div class="device-group">
<label for="cameraSelect">Camera:</label>
<select id="cameraSelect">
<option value="">Loading cameras...</option>
</select>
</div>
<div class="device-group">
<label for="micSelect">Microphone:</label>
<select id="micSelect">
<option value="">No microphone</option>
<option value="">Loading microphones...</option>
</select>
</div>
<button id="startButton" onclick="startWithSelectedDevices()">Start Video</button>
</div>
</div>
<div class="container" style="display: none;">
<video autoplay></video>
<div class="controls">
<button id="fullscreenButton" onclick="enterFullscreen()">Full Screen</button>
<div class="volume-control">
<label for="volumeSlider">Volume:</label>
<input type="range" id="volumeSlider" min="0" max="100" step="1" value="100" oninput="adjustVolume(this.value)">
<span id="volumeValue">100%</span>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>