legacy-arrflix/bin
s8n 4f13db63f9 fix v7: html-bg pin + correct video class names
Two bugs in prior video-isolation fix (452ce68):

1. .htmlVideoPlayer wrong class — Jellyfin actually uses
   .videoPlayerContainer + <video class="htmlvideoplayer"> (lowercase).
   :has(.htmlVideoPlayer) never matched, so L1 :not(:has) was always
   true — body never excluded from #000 paint, L2 (lower specificity
   0,2,1) lost to L1 (0,3,1). Replaced :has() gate with :not(.arrflix
   -video-active) — JS body class is reliable signal.

2. html background-color stayed transparent on details/video pages
   despite 5 stylesheet rules saying #000 !important. Headless Chrome
   reported computed bg as rgba(0,0,0,0) — root canvas propagation
   bug or cascade quirk. Fix: JS shim sets inline style on
   <html> with !important. Inline styles win against any stylesheet.

Result: html paints #000 (so letterbox bars are black not white),
body transparent during playback (L2 wins on equal specificity via
source order), videoPlayerContainer + <video> transparent → frames
visible. Off-video: body opaque #000 (L1 fires).

Verified DOM probe: html bg rgb(0,0,0), body rgba(0,0,0,0) when
arrflix-video-active. Both flip when class removed.
2026-05-09 22:33:45 +01:00
..
add-jellyfin-user.sh force English everywhere on all 9 users + wrapper 2026-05-08 23:46:13 +01:00
apply-26-incident-fixes.sh doc 28 INC7-final: CSS overlay covering <video> was actual cause 2026-05-09 03:04:41 +01:00
english-lockdown-runner.sh docs+bin: English-only lockdown — re-apply runner + doc 20 2026-05-08 17:04:12 +01:00
force-english-all-users.sh doc 15: force English UI for all users (plan + script) 2026-05-08 04:22:04 +01:00
headless-test-v2.py doc 26 INC4: black band + 4K HDR slow transcode + v2 test + methodology audit 2026-05-09 01:46:47 +01:00
headless-test.py doc 26 INC2+INC3: pin backdrop, transparent sub-sections 2026-05-09 01:21:01 +01:00
inject-middle-theme.py fix v7: html-bg pin + correct video class names 2026-05-09 22:33:45 +01:00
inject-shim.py web: english-lockdown shim — pin locale + hide switchers 2026-05-08 17:04:03 +01:00
prod-vs-dev-compare.py doc 28 INC7-final: CSS overlay covering <video> was actual cause 2026-05-09 03:04:41 +01:00