Version: 2.69.0

VTTLine

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.

Signature:
export declare type VTTLine = number | 'auto';

Remarks


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