Bitmovin Player API 8.268.0
    Preparing search index...

    Interface VTTProperties

    interface VTTProperties {
        align: "start" | "center" | "end" | "left" | "middle" | "right";
        id?: string;
        line: string | number;
        lineAlign: "start" | "center" | "end";
        position: number | "auto";
        positionAlign: "center" | "auto" | "line-left" | "line-right";
        region?: VTTRegionProperties;
        size: number;
        snapToLines: boolean;
        vertical: "" | "rl" | "lr";
    }
    Index
    align: "start" | "center" | "end" | "left" | "middle" | "right"

    An alignment for all lines of text within the cue box, in the dimension of the writing direction. https://w3.org/TR/webvtt1/#webvtt-cue-text-alignment

    id?: string

    An optional ID.

    line: string | number

    The line defines positioning of the cue box. https://www.w3.org/TR/webvtt1/#webvtt-cue-line

    lineAlign: "start" | "center" | "end"

    An alignment for the cue box’s line. https://www.w3.org/TR/webvtt1/#webvtt-cue-line-alignment

    position: number | "auto"

    The position defines the indent of the cue box in the direction defined by the writing direction. https://www.w3.org/TR/webvtt1/#webvtt-cue-position

    positionAlign: "center" | "auto" | "line-left" | "line-right"

    An alignment for the cue box in the dimension of the writing direction. https://www.w3.org/TR/webvtt1/#webvtt-cue-position-alignment

    An optional WebVTT region to which a cue belongs. https://www.w3.org/TR/webvtt1/#webvtt-cue-region

    size: number

    A number giving the size of the cue box, to be interpreted as a percentage of the video, as defined by the writing direction. https://www.w3.org/TR/webvtt1/#webvtt-cue-size

    snapToLines: boolean

    A boolean indicating whether the line is an integer number of lines, or whether it is a percentage of the dimension of the video. https://www.w3.org/TR/webvtt1/#webvtt-cue-snap-to-lines-flag

    vertical: "" | "rl" | "lr"