Umbau mit cameraSwitch

This commit is contained in:
chk
2026-06-05 06:36:48 +02:00
parent 0ea475d6b6
commit 8c8c769e22
10 changed files with 641 additions and 839 deletions

View File

@@ -39,11 +39,8 @@
.cam-box { position: relative; background: #000; border: 1px solid #2a2a2a; min-width: 320px; }
video-stream { display: block; width: 640px; height: 480px; background: #111; }
video-stream video { width: 100%; height: 100%; object-fit: contain; }
/* Eingefrorener Frame während des Hi-Res-Tests (Phase 1) */
.cam-freeze { display: block; width: 640px; height: 480px; background: #111; }
/* Live-MJPEG (multipart/x-mixed-replace) nativ im <img> */
.cam-img { display: block; width: 640px; height: 480px; background: #111; object-fit: contain; }
.cam-label {
position: absolute; top: 5px; left: 8px; z-index: 2;
@@ -90,7 +87,6 @@
<div id="notice"></div>
<div id="cameras"></div>
<script type="module" src="/video-stream.js"></script>
<script src="viewer.js" defer></script>
</body>
</html>