BetaBetaCreate a new WebVTT parser.
The options to use for the parser.
Optional BetaoncueA callback function that is called when a cue is parsed.
Optional BetaonflushA callback function that is called when the parser is flushed.
Optional BetaonparsingerrorA callback function that is called when a parsing error occurs.
Optional BetaonregionA callback function that is called when a region is parsed.
Optional BetaonstyleA callback function that is called when a style is parsed.
Optional BetaontimestampmapA callback function that is called when a timestamp map is parsed.
BetaParse the given data.
Optionaldata: stringThe data to parse.
Whether to reuse the cue.
The parser.
A WebVTT parser.
Example
See
WebVTT Specification