Umbau mit cameraSwitch
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user