Amazon Vinyl
    Preparing search index...

    Interface TextTrackControllerOptions

    Declarative configuration for a TextTrackController. Rendering is driven entirely by this value (via VinylOptions.text); there is no imperative track-select call.

    interface TextTrackControllerOptions {
        enabled?: CaptionMode | null;
        selection?: TextTrackSelection | null;
    }
    Index
    enabled?: CaptionMode | null

    Which captions render (see CaptionMode). Unset defaults to 'forced'.

    selection?: TextTrackSelection | null

    The selection criteria (language / id / kind). When unset, the preferred languages fall back to the platform's navigator.languages.