Interface

TextTrackCue

TextTrackCue

TextTrackCues represent a string of text that will be displayed for some duration of time on a TextTrack. This includes the start and end times that the cue will be displayed. A TextTrackCue cannot be used directly, instead one of the derived types (e.g. VTTCue) must be used.

View Source js/lib.dom.d.ts, line 6690

Members

number

# endTime

Returns the text track cue end time, in seconds.

Can be set.

View Source js/lib.dom.d.ts, line 6693

string

# id

Returns the text track cue identifier.

Can be set.

View Source js/lib.dom.d.ts, line 6700

boolean

# pauseOnExit

Returns true if the text track cue pause-on-exit flag is set, false otherwise.

Can be set.

View Source js/lib.dom.d.ts, line 6707

number

# startTime

Returns the text track cue start time, in seconds.

Can be set.

View Source js/lib.dom.d.ts, line 6714

TextTrack | null

# track

Returns the TextTrack object to which this text track cue belongs, if any, or null otherwise.

View Source js/lib.dom.d.ts, line 6721