THEOplayer > VTTDirectionSetting
A WebVTT-defined writing direction, represented by a value from the following list:
- ''
: Horizontal. A line extends horizontally and is offset vertically from the video viewport’s top edge, with consecutive lines displayed below each other.
- 'rl'
: Vertical right-to-left. A line extends vertically and is offset horizontally from the video viewport’s right edge, with consecutive lines displayed to the left of each other.
- 'lr'
: vertical left-to-right. A line extends vertically and is offset horizontally from the video viewport’s left edge, with consecutive lines displayed to the right of each other.
Signature:
export type VTTDirectionSetting = '' | 'rl' | 'lr';