Interface VTTCue

Hierarchy

Properties

endTime: number

Returns the text track cue end time, in seconds.

Can be set.

MDN Reference

id: string

Returns the text track cue identifier.

Can be set.

MDN Reference

lineAlign: LineAlignSetting
onenter: ((this, ev) => any)

Type declaration

onexit: ((this, ev) => any)

Type declaration

pauseOnExit: boolean

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

Can be set.

MDN Reference

positionAlign: PositionAlignSetting
region: VTTRegion
size: number
snapToLines: boolean
startTime: number

Returns the text track cue start time, in seconds.

Can be set.

MDN Reference

text: string
track: TextTrack

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

MDN Reference

Methods

  • Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.

    MDN Reference

    Parameters

    Returns boolean