Constructor
new WebVttGenerator()
Manage the conversion to WebVTT.
- Source:
Methods
convert(cuesnon-null, adCuePointsnon-null) → {string}
Parameters:
Name | Type | Description |
---|---|---|
cues |
Array.<!shaka.text.Cue> | |
adCuePoints |
Array.<!shaka.extern.AdCuePoint> |
- Source:
Returns:
- Type
- string