Version: 2.67.0

TextTrackCue

THEOplayer > TextTrackCue

TextTrackCue interface

Inherits from EventDispatcher<TextTrackCueEventMap> . See parent page for inherited properties and methods.

Represents a cue of a text track.

Signature:
export interface TextTrackCue extends EventDispatcher<TextTrackCueEventMap>

Properties

Property

Type

Description

content

any

The content of the cue.

endTime

number

The playback position at which the cue becomes inactive, in seconds.

id

string

The identifier of the cue.

startTime

number

The playback position at which the cue becomes active, in seconds.

track

TextTrack

The text track of the cue.