@vestra-player/sdk - v1.11.3
    Preparing search index...

    Interface ViewSettings

    How the video sits in the video area; not part of snapshots or exports. Defaults: { aspect: null, fit: "keep", zoom: 1, panX: 0, panY: 0 }.

    1.0.0

    interface ViewSettings {
        aspect: number | null;
        fit: "keep" | "stretch" | "fill";
        zoom: number;
        panX: number;
        panY: number;
    }
    Index
    aspect: number | null

    Display aspect override 0.25–4; null = as the source.

    fit: "keep" | "stretch" | "fill"

    keep: letterbox; stretch: fill, distorted; fill: fill, cropped.

    zoom: number

    0.25–4 (1 = fit the area).

    panX: number

    −1–1, in units of the shown video's width / height.

    panY: number

    −1–1, in units of the shown video's height.