Amazon Vinyl
    Preparing search index...

    Interface TextTrackRef

    A handle to a DOM TextTrack created on the media element, plus a way to clear its cues.

    interface TextTrackRef {
        track: TextTrack;
        clear(): void;
    }
    Index
    track: TextTrack
    • Removes all cues from the track. Must be called while the track is not disabledTextTrack.cues reads null in the disabled state, so clearing a disabled track silently leaves its cues attached.

      Returns void