Video.js Captions Toggle
A button that toggles captions for a specified language.
Once you've added the plugin script to your page, you can use it with any video:
There's also a working example of the plugin you can check out if you're having trouble.
You may pass in an options object to the plugin upon initialization. This object may contain any of the following properties:
The two-letter BCP-47 language code. The default specifies English captions to be used.
- 0.1.0: Initial release