Constructor
# new xdk-players-contrib/extensions/subtitles/External/TTML()
Player extension. TTML external subtitle download.
Methods
# protected _parseSubtitles(Unparsed) → {Array.<SubtitleTrack>}
Parses with native DOMParser()
the downloaded subtitle
Parameters:
Name | Type | Description |
---|---|---|
Unparsed |
String
|
subtitle as a string |
Array of subtitle tracks
Array.<SubtitleTrack>