diff --git a/public/app.js b/public/app.js
index 97b6254..da4a978 100644
--- a/public/app.js
+++ b/public/app.js
@@ -171,7 +171,7 @@ function showVideoPlayer(ch) {
document.getElementById('player-area').innerHTML = `
-
@@ -179,9 +179,11 @@ function showVideoPlayer(ch) {
}
// Hide the channel-logo loading overlay once real playback starts.
+// Instant hide (no opacity fade) so the player never shows through a
+// half-transparent overlay mid-transition.
function hideLoadingOverlay() {
const el = document.getElementById('video-loading');
- if (el) { el.style.opacity = '0'; setTimeout(() => { if (el) el.style.display = 'none'; }, 500); }
+ if (el) el.style.display = 'none';
}
// Show it again (e.g. when switching channel / falling back).
function showLoadingOverlay(ch) {