Skip to main content
Version: 20 Mar 2024

WebVTTData

WebVTT data structure.

Public Attributes

Body

WebVTT file body encoded as UTF-8.


public string Body;


Direction

The writing direction.


public WebVTTDirection Direction;


EndTimeMs

Track cue end time in milliseconds.


public long EndTimeMs;


Id

A sequence of characters unique amongst all the WebVTT cue identifiers.


public string Id;


LineNumber

WebVTT cue line number.


public int LineNumber;


Orientation

Orientation of the cue.


public WebVTTOrientation Orientation;


RelativeLinePosition

Relative cue line position.


public float RelativeLinePosition;


Size

WebVTT cue size.


public float Size;


SnapToLines

A boolean indicating whether the line is an integer number of lines.


public bool SnapToLines;


StartTimeMS

Track cue start time in milliseconds.


public long StartTimeMS;


TextPosition

The indent of the cue box in the direction defined by the writing direction.


public float TextPosition;


align

WebVTT cue text alignment.


public WebVTTAlign align;