From 0d8650a55b14380ad750cf98c7a158d96e0ec8b2 Mon Sep 17 00:00:00 2001 From: ashley Date: Thu, 28 Aug 2025 22:20:23 +0200 Subject: [PATCH] Update css/player-base.js --- css/player-base.js | 1135 ++++++++++++++++++++++++-------------------- 1 file changed, 622 insertions(+), 513 deletions(-) diff --git a/css/player-base.js b/css/player-base.js index 8d25ac5e..a08e5946 100644 --- a/css/player-base.js +++ b/css/player-base.js @@ -1,572 +1,681 @@ // in the beginning.... god made mrrprpmnaynayaynaynayanyuwuuuwmauwnwanwaumawp :p var _yt_player = videojs; -// Self-healing DASH player (Video.js + videojs-contrib-dash + dash.js) -// + CORS hardening -// + ERROR UI SUPPRESSION (hide/clear false “No compatible source…”) -// + AUTO FALLBACK to Progressive (video+separate audio) after repeated errors -// -// Fallback expectations: -// - Provide progressive **video-only** URL at `window.fallbackVideoUrl` (e.g., MP4/WebM no-audio). -// - Provide matching **audio-only** URL at `window.fallbackAudioUrl` (e.g., M4A/Opus). -// - If either is missing, the fallback won’t engage and we’ll keep trying DASH. -// -// The fallback re-enables the old audio+video sync path (single