Amazon Vinyl
    Preparing search index...

    Interface WebVttCue

    A single WebVTT cue.

    interface WebVttCue {
        endTime: number;
        id: string | null;
        settings?: VttCueStyle;
        startTime: number;
        text: string;
    }
    Index
    endTime: number

    Cue end time in seconds.

    id: string | null

    Optional cue identifier, the line that appears before the timing line.

    settings?: VttCueStyle

    The authored cue settings from the timing line (position/line/size/ align/vertical), when any were present. Preserved so a renderer can position the cue faithfully. Absent when the cue declared no settings.

    startTime: number

    Cue start time in seconds.

    text: string

    The cue text payload, with line breaks preserved as \n.