TextTrackCue

The TextTrackCue interface of the WebVTT API is the abstract base class for the various derived cue types, such as VTTCue; you will work with these derived types rather than the base class.

MDN Reference

Inheritors

Properties

Link copied to clipboard

The endTime property of the TextTrackCue interface returns and sets the end time of the cue.

Link copied to clipboard
var id: String

The id property of the TextTrackCue interface returns and sets the identifier for this cue.

Link copied to clipboard

The pauseOnExit property of the TextTrackCue interface returns or sets the flag indicating whether playback of the media should pause when the end of the range to which this cue applies is reached.

Link copied to clipboard

The startTime property of the TextTrackCue interface returns and sets the start time of the cue.

Link copied to clipboard

The track read-only property of the TextTrackCue interface returns the TextTrack object that this cue belongs to.

Functions

Link copied to clipboard
Link copied to clipboard