Listener for a JS WebVTT parser (vtt.js).
Is called when the WebVTTParser successfully parses a WebVTT cue.
cue | An object representing the data of a parsed WebVTT cue. |
Is called when the WebVTT parser successfully parses a WebVTT region.
region | An object representing the data of a parsed WebVTT region. |
Is called when the WebVTT parser encounters a parsing error.
error | The error code of the ParserError the occured. |