videojs-ass-es6
Add Advanced SubStation Alpha (ASS) subtitles support to videojs using the libjass library.
Install
For plugin that supports videojs v5.x install using either:
yarn add videojs-ass-es6
npm install videojs-ass-es6
Usage
Initialize the ass
plugin with the src
field like the following:
;
Option | Default | Description |
---|---|---|
src | -1 | .ass / .ssa source. |
label | -2 | subtitle track label that shows up in the subtitles picker |
label | -3 | subtitle language code |
Footnotes:
- This property is required!
- Has fallback values but you should provide a better label.
- Should be the 2 character language code of the subtitle