VTTCue
The VTTCue interface of the WebVTT API represents a cue that can be added to the text track associated with a particular video (or other media).
Constructors
Properties
The align property of the VTTCue interface represents the alignment of all of the lines of text in the text box.
The line property of the VTTCue interface represents the cue line of this WebVTT cue.
The lineAlign property of the VTTCue interface represents the alignment of this VTT cue.
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.
The position property of the VTTCue interface represents the indentation of the cue within the line.
The positionAlign property of the VTTCue interface is used to determine what VTTCue.position is anchored to.
The snapToLines property of the VTTCue interface is a Boolean indicating if the VTTCue.line property is an integer number of lines, or a percentage of the video size.
The vertical property of the VTTCue interface is a string representing the cue's writing direction.