@byomakase/omakase-player
    Preparing search index...

    Interface TextTrackState

    Serializable snapshot of a text track Track.

    interface TextTrackState {
        default: boolean;
        id: string;
        kind: TextTrackKind | undefined;
        label: string | undefined;
        loadStage: OpStageState;
        mediaType: MediaEntityType;
        relations: RelationState[];
        source: SourceState | undefined;
        sourceFileFormatType?: FileFormatType;
        srclang?: string;
        textTrackType: TextTrackType;
        timedItems: TextCueState[];
        timedItemsLocked: boolean;
        trackType: TrackType;
    }

    Hierarchy (View Summary)

    Index

    Properties

    default: boolean

    Whether this text track is selected by default.

    id: string
    kind: TextTrackKind | undefined
    label: string | undefined
    loadStage: OpStageState
    mediaType: MediaEntityType
    relations: RelationState[]
    source: SourceState | undefined
    sourceFileFormatType?: FileFormatType
    srclang?: string

    BCP 47 language tag for the text track (e.g. "en", "fr").

    textTrackType: TextTrackType
    timedItems: TextCueState[]
    timedItemsLocked: boolean
    trackType: TrackType