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

    Interface TextTrackArgs

    Construction arguments for text track instances.

    interface TextTrackArgs {
        default?: boolean;
        id?: string;
        kind?: TextTrackKind;
        label?: string;
        loadStage?: OpStage;
        relations?: Relation[];
        source?: Source;
        sourceFileFormatType?: FileFormatType;
        srclang?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    default?: boolean

    Whether this track should be selected by default.

    id?: string

    Optional pre-assigned UUID. When omitted a new UUID is generated automatically.

    The kind of text track (subtitles, captions, etc.).

    label?: string

    Human-readable label for this track.

    loadStage?: OpStage

    Track load status *

    relations?: Relation[]

    Initial set of inter-track relations.

    source?: Source

    Data source backing this track.

    sourceFileFormatType?: FileFormatType

    The resolved file format of the source.

    srclang?: string

    BCP 47 language tag (e.g. "en").