Add Advanced SubStation Alpha (ASS) subtitles support to videojs using the libjass library.
If you are not on a phone or using a very bad browser, come check out the demo here
You can get this plugin using bower or npm, the latter will build libjass from source
bower install videojs-ass
npm install videojs-ass
Initialize the ass
plugin with the src
field like the following:
videojs('player_id', {
plugins: {
ass: {
src: 'subs/subtitles.ass'
}
}
}