ReadonlylogA string prefix for all log statements made by this target.
Returns true if this text track controller is active.
The currently active text track, or null if none is active.
The list of currently discovered text tracks.
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.
Dispatches an event.
The key of the event within EventMap
If the passed event is read-only, then it may be re-used/cached. Otherwise, it should be a new event object every dispatch. If no target property is set on the event, the target will be set to this host.
Cancels any in-flight load, hides the DOM text track, and resets state. Called by the host when the underlying media is unloaded.
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.
Manages a sidecar WebVTT-based text track lifecycle:
textTracksobservable) and the current selection (from theoptionsobservable)TextTrackobtained from the MediaTextTrackProviderThe controller is agnostic of HLS/DASH discovery details; its inputs are the observables supplied by the manifest layer.