Optional
enabledOptional
forcedTells if a subtitle track is forced.
If set to true
, it means that the player should automatically select and switch to this subtitle according to the selected audio language.
The id of the media track that is used to identify and set the track.
Optional
isIndicates whether the subtitle is fragmented.
The subtitle type, either "caption" or "subtitle" (default: "subtitle").
The text used to represent this track to the user (e.g. in the UI).
The language of the subtitle/caption track.
Optional
roleThe optional roles of the track.
Optional
urlThe URL to the associated file.
Tells if a subtitle track is enabled or disabled.
If set to
true
, the track will be enabled by default.