Is there a way to apply custom styles to captions?
I added a STYLE block to my VTT caption file to apply custom styles (like font size), following the instructions on MDN:
https://developer.mozilla.org/en-US/docs/Web/API/WebVTT_API/Web_Video_Text_Tracks_Format
However, after uploading the file, the styles don't seem to be applied.
Is there something else I need to do to make it work?
MDN Web Docs
Web Video Text Tracks Format (WebVTT) - Web APIs | MDN
Web Video Text Tracks Format (WebVTT) is a plain-text file format for displaying timed text tracks that are synchronized with content in and elements.
These can be used, for example, to add closed captions and subtitle text overlays to a .
0 Replies