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 :

JSON format :
[{"src":"", "label":"Language1", default: true}, {"src":"", "label":"Language2"}]

default attribute is optional
SRT & VTT formats are only supported

Updated on: 06/03/2021

Was this article helpful?

Share your feedback


Thank you!