From 452ce68d7afde2373c9fefc63f24009bef42c387 Mon Sep 17 00:00:00 2001 From: s8n Date: Sat, 9 May 2026 22:18:31 +0100 Subject: [PATCH] isolate video player against opaque-bg regressions (recurring INC class) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Two-layer defense for the recurring "black screen during playback" bug class (5+ occurrences in 24h per doc 26/28/30): L1 (prevention): scope every black-bg rule with :not(:has(.htmlVideoPlayer)):not(:has(#videoOsdPage)) so the rules self-disable while a player is in the DOM. Covers body, #reactRoot, .skinBody, .backgroundContainer, .mainAnimatedPage, .mainAnimatedPages, .pageContainer. L2 (override): when JS-toggled body.arrflix-video-active is set, high-specificity (0,3,2 + tag) transparent rule wins against any ancestor opaque-bg rule (including future regressions someone adds without scoping). Covers all known wrappers, the videoPlayerContainer + videoPlayerContainer-onTop, #videoOsdPage, .libraryPage, .htmlVideoPlayer. L3 (z-index lift): force .htmlVideoPlayer + child