Amazon Vinyl
    Preparing search index...

    Class SidecarTextTrackController

    Manages a sidecar WebVTT-based text track lifecycle:

    • tracks the discovered TextTrackInfo list (from the textTracks observable) and the current selection (from the options observable)
    • on selection, fetches the chosen track's WebVTT and pushes cues to a DOM TextTrack obtained from the MediaTextTrackProvider
    • clears cues and hides the DOM track when the selection changes or clears

    The controller is agnostic of HLS/DASH discovery details; its inputs are the observables supplied by the manifest layer.

    Hierarchy (View Summary)

    Implements

    Index
    logPrefix: string = ...

    A string prefix for all log statements made by this target.