We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6235985 commit fd6bfbeCopy full SHA for fd6bfbe
index.html
@@ -32,7 +32,9 @@
32
33
<label>
34
Select a Video Input Device:
35
- <span id="video-input-device-select-container"></span>
+ <select id="video-select" disabled>
36
+ <option value="" selected>Select a Device</option>
37
+ </select>
38
</label>
39
40
Body Detector Ready:
@@ -133,7 +135,7 @@
133
135
import {VideoRenderer} from "./js/renderer/video_renderer.js";
134
136
137
const deviceSelect = await Camera.getSelectElement();
- document.getElementById("video-input-device-select-container").appendChild(deviceSelect);
138
+ document.getElementById("video-select").replaceWith(deviceSelect);
139
140
const mesh = new Mesh();
141
const bodyDetector = new BodyDetector(mesh);
0 commit comments