diff --git a/server/public/index.html b/server/public/index.html index 470c148e..bb34ee51 100644 --- a/server/public/index.html +++ b/server/public/index.html @@ -15,6 +15,10 @@ #authPanel { margin: 12px 0; display: flex; gap: 8px; align-items: center; } #authPanel input { padding: 4px; } #activeDriver { margin-bottom: 8px; font-weight: bold; } + #videoPanel { margin-bottom: 12px; } + #videoContainer { width: 100%; background: #000; min-height: 200px; display: flex; align-items: center; justify-content: center; } + #videoContainer video { width: 100%; max-height: 320px; background: #000; } + #videoStatus { margin-top: 6px; font-size: 0.9rem; color: #444; }
@@ -61,8 +65,13 @@Use WASD keys to drive the selected rover. Shift increases speed.
@@ -75,6 +84,7 @@ + diff --git a/server/public/spectate/index.html b/server/public/spectate/index.html index c0601dd9..5938b2eb 100644 --- a/server/public/spectate/index.html +++ b/server/public/spectate/index.html @@ -11,6 +11,9 @@ .rover-card h3 { margin: 0 0 8px 0; } .sensor { font-family: monospace; white-space: pre-wrap; word-break: break-word; } .meta { font-size: 0.9rem; color: #555; margin-bottom: 8px; } + .video-wrap { background: #000; min-height: 160px; margin-bottom: 6px; display: flex; align-items: center; justify-content: center; } + .video-wrap video { width: 100%; max-height: 200px; background: #000; } + .video-status { font-size: 0.85rem; color: #444; margin-bottom: 4px; } @@ -24,6 +27,7 @@ +