TextTrackCue is an abstract class which is used as the basis for the various derived cue types, such as
VTTCue; you will instead work with those derived types. These cues represent strings of text presented for some duration of time during the performance of a
TextTrack. The cue includes the start time (the time at which the text will be displayed) and the end time (the time at which it will be removed from the display), as well as other information.
This interface also inherits properties from
TextTrackthat this cue belongs to, or
nullif it doesn't belong to any.
A string that identifies the cue.
doublethat represents the video time that the cue will start being displayed, in seconds.
doublethat represents the video time that the cue will stop being displayed, in seconds.
booleanfor whether the video will pause when this cue stops being displayed.
|HTML Standard |
BCD tables only load in the browser