Merge PR #489 live CCTV onto current architecture

This commit is contained in:
Bilawal Sidhu committed 2026-09-15 02:16:11 -05:00
commit 48666cb9a4
19 files changed
+941 -10

No files matched your search

+18
View File
@@ -234,6 +234,8 @@
image inside is taller — and the wrap is overflow:hidden, which clipped
the bottom of the frame right back off. Never shrink the preview. */
flex-shrink: 0;
aspect-ratio: 16/9;
min-height: 0;
}
/* Lightweight loading shimmer while the active frame is fetching */
@@ -298,10 +300,26 @@
transition: opacity 180ms ease;
}
#cctv-video {
width: 100%;
height: 100%;
display: block;
object-fit: contain;
}
#cctv-frame.active {
opacity: 1;
}
#cctv-video:not([hidden]) {
opacity: 1;
}
#cctv-frame[hidden],
#cctv-video[hidden] {
display: none;
}
#cctv-meta {
font-family: var(--font-mono);
font-size: 9px;