ReadonlyactiveThe currently active text track, or null if none is active.
ReadonlytextThe list of currently discovered text tracks.
Returns true if this text track controller is active.
Resumes rendering the active selection after a deactivate, reloading its cues. No-op when nothing is selected or already rendering. Called when the owning media track is reactivated.
Suspends cue rendering without changing the active selection: cancels any in-flight load and hides the DOM text track (so its cues stop showing). Called when the owning media track is deactivated — e.g. while an ad plays over the suspended content. activate rebuilds it.
Returns true if the event host has any listeners.
Returns true if the event host has any listeners for the given type.
Adds an event handler for the given typed event.
The key representing the event type to listen for.
A callback to invoke when the event with the given type is dispatched.
Optionaloptions: SignalOptions
Options for changing listening behavior.
Returns a method, when invoked, removes the handler.
Full controller for the current media's text tracks. Selection is driven declaratively through the controller's options (
VinylOptions.text); this interface only adds the render lifecycle used by the owning media track.