logo

THEOplayer > VTTDirectionSetting

VTTDirectionSetting type

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';
github
Make sure to follow us on GitHub!
THEO-logo-white
twitter
facebook
linkedin
Copyright © 2022. All Rights Reserved.
Leuven
New York
Singapore
Barcelona