Articles on: Player

How to load many subtitles via JSON?

Load subtitles using JSON


Here is an easy way to load multiple subtitles via JSON.


Example link :
https://dood.so/e/xxx?subtitle_json=https://example.com/sub.json


JSON format :
[{"src":"http://yoursubtitle.com/file.vtt", "label":"Language1", default: true}, {"src":"http://yoursubtitle.com/file2.vtt", "label":"Language2"}]


default attribute is optionalSRT & VTT formats are only supported

Updated on: 06/03/2021

Was this article helpful?

Share your feedback

Cancel

Thank you!