Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Missing CC button in Mozilla Firefox

I am working with subtitles (WebVtt) in HTML5. A button to toggle subtitles on/off should appear on the video player. But in firefox this does not happen. Working example here, a simple test using webvtt subtitles: http://www.erher.no/TEMP/HTML5/subtitle/webvtt.html

problem With Firefox is that no CC button appears?

I'm able to force subtitle to display by setting the "default" parameter in the track tag, so it is working, but where is the CC button?

Mozilla and WebVtt: https://developer.mozilla.org/en-US/docs/Web/API/Web_Video_Text_Tracks_Format

anyone?

like image 261
Henning Avatar asked May 26 '26 17:05

Henning


1 Answers

Firefox simply hasn't implemented a native control for it yet. You can see the feature request in their bug tracker.

If you want a control, you'll have to implement it yourself with JavaScript.

like image 125
Quentin Avatar answered May 28 '26 07:05

Quentin



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!