logo

THEOplayer > VTTPosition

VTTPosition type

A WebVTT-defined position, represented by a value from the following list:
- a number: The position is expressed as a percentage value.
- 'auto': The position depends on the text alignment of the cue.

Signature:

export type VTTPosition = number | 'auto';
github
Make sure to follow us on GitHub!
THEO-logo-white
twitter
facebook
linkedin
Copyright © 2022. All Rights Reserved.
Leuven
New York
Singapore
Barcelona