Version: 2.69.0


THEOplayer > VTTLine

VTTLine type

A WebVTT-defined line offset, represented by a value from the following list:
- a number: The line offset is expressed in a number of text lines or a percentage of the video viewport height or width.
- 'auto': The line offset depends on the other showing tracks.

export declare type VTTLine = number | 'auto';


- The semantics of the `number` variant are dependent on [WebVTTCue.snapToLines](/docs/api-reference/theoplayer-webvttcue-snaptolines).