Amazon Vinyl
    Preparing search index...

    Interface WebVttDocument

    The result of parsing a WebVTT document.

    interface WebVttDocument {
        cues: readonly WebVttCue[];
        styles: readonly string[];
    }
    Index
    cues: readonly WebVttCue[]

    Parsed cues in document order.

    styles: readonly string[]

    The raw CSS body of each STYLE block, in document order. These carry ::cue rules (e.g. ::cue(.loud) { font-weight: bold }) an HTML renderer can apply. Empty when the document declared no styles.