2025-03-14, 06:08 PM
(2025-01-30, 10:33 PM)4r5hw45twh Wrote: I tried this code maybe a week or so ago but my subtitles didn't change any styles at all.
This is a common issue because the
::cue
pseudo-element in CSS (which is fairly recent) will often be overridden by the caption settings in your OS's settings.If you're on Windows and watching on a Chromium browser, deleting the
HKCU\Software\Microsoft\Windows\CurrentVersion\ClosedCaptioning
registry key should reset the caption preferences and allow the intended style to appear [source].
JF Server Specs:
- CPU: Intel Core i5-11400
- Motherboard: ASRock H510M-ITX/ac
- RAM: G.Skill 16GB (2x8GB) Value 2666MHz CL19 DDR4
- PSU: Silverstone SX300-B 80+ Bronze SFX
- OS: Debian 12
- JF: 10.10.6