Some Fix
This commit is contained in:
1 parent
1d9fd55fe3
commit
6cfde8b225
3 files changed
+3
-1
No files matched your search
+1
-1
@@ -151,7 +151,7 @@ LIVE_STREAM_QUALITY=75
|
|||||||
LIVE_STREAM_EVERY_N=2
|
LIVE_STREAM_EVERY_N=2
|
||||||
|
|
||||||
# --- Dashboard (counter_dashboard.py) ---
|
# --- Dashboard (counter_dashboard.py) ---
|
||||||
# Template file: "dashboard.html" (default) or "dashboard_new.html" (Lamborghini theme)
|
# Template file: "dashboard.html" (default) or "dashboard_lamborghini.html" (Lamborghini theme)
|
||||||
DASHBOARD_TEMPLATE=dashboard.html
|
DASHBOARD_TEMPLATE=dashboard.html
|
||||||
# Flask secret key for session/cookie signing — change in production!
|
# Flask secret key for session/cookie signing — change in production!
|
||||||
SECRET_KEY=change-me-in-production
|
SECRET_KEY=change-me-in-production
|
||||||
|
|||||||
@@ -1177,6 +1177,7 @@ function onVideoLoad() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function onVideoError() {
|
function onVideoError() {
|
||||||
|
if (!videoActive) { hideVideoError(); return; }
|
||||||
const overlay = document.getElementById('video-error-overlay');
|
const overlay = document.getElementById('video-error-overlay');
|
||||||
if (overlay) overlay.classList.add('visible');
|
if (overlay) overlay.classList.add('visible');
|
||||||
if (videoErrorTimer) clearTimeout(videoErrorTimer);
|
if (videoErrorTimer) clearTimeout(videoErrorTimer);
|
||||||
|
|||||||
@@ -982,6 +982,7 @@ function onVideoLoad() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function onVideoError() {
|
function onVideoError() {
|
||||||
|
if (!videoActive) { hideVideoError(); return; }
|
||||||
const overlay = document.getElementById('video-error-overlay');
|
const overlay = document.getElementById('video-error-overlay');
|
||||||
if (overlay) overlay.classList.add('visible');
|
if (overlay) overlay.classList.add('visible');
|
||||||
if (videoErrorTimer) clearTimeout(videoErrorTimer);
|
if (videoErrorTimer) clearTimeout(videoErrorTimer);
|
||||||
Reference in new issue
Block a user