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