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