logo

THEOplayer > VTTPositionAlignSetting

VTTPositionAlignSetting type

A WebVTT-defined position alignment, represented by a value from the following list:
- 'line-left': The cue box's start is aligned at a specified position.
- 'center': The cue box's center is aligned at a specified position.
- 'line-right': The cue box's end is aligned at a specified position.
- 'auto': The cue box's alignment is dependent on its text alignment setting.

Signature:

export type VTTPositionAlignSetting = 'line-left' | 'center' | 'line-right' | '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