Static
OnEvent type emitted when parser reads metadata that should be passed to renderers
Static
formatThe format this parser is used for
Adds an event listener for a specific event.
Event type.
Listener callback function.
Rest
...args: any[]Optional
once: boolean(Optional) Indicating that the listener should be invoked at most once after being added. If true, the listener would be automatically removed when invoked.
Alias method for addEventListener.
Event type.
Listener callback function.
Rest
...args: any[]Optional
once: boolean(Optional) Indicating that the listener should be invoked at most once after being added. If true, the listener would be automatically removed when invoked.
Called when new data is available to parse.
In the case of streaming subtitles this will be called several times during playback, as subtitle data becomes available.
For sidecar files it is called once when the subtitle is loaded.
the cue data to parse
error on parse error
Parser for iTunes Timed Text (.itt). See TimedTextPlugin for usage examples.