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

    Interface WindowFacts

    The main window as window.state reports it, in logical points (zero without one): what WindowState (plugin.window) is made from, plus the palette, the resolvers' file types and the language that come with the same answer.

    The player's wire shape (window.state), part of the protocol, which is not semver: it can gain fields with a player version.

    1.7.0

    interface WindowFacts {
        fullscreen: boolean;
        maximized?: boolean;
        videoArea: { width: number; height: number };
        pictureInPicture?: { supported: boolean; active: boolean };
        appearance?: string;
        fileTypes?: string[];
        language?: string;
        locale?: string;
    }
    Index
    fullscreen: boolean

    The main window is fullscreen.

    maximized?: boolean

    The main window is maximized, false in fullscreen.

    videoArea: { width: number; height: number }

    The video area's size.

    Type Declaration

    • width: number

      Width in logical points.

    • height: number

      Height in logical points.

    pictureInPicture?: { supported: boolean; active: boolean }

    System picture-in-picture.

    Type Declaration

    • supported: boolean

      The system offers it.

    • active: boolean

      It is on.

    appearance?: string

    The palette (plugin.appearance), with the window.state reply; a newer player may name a palette this SDK does not list.

    fileTypes?: string[]

    The file resolvers' extensions (as resolvers.fileTypes carries them).

    language?: string

    The saved interface language, "system" or a locale.

    locale?: string

    The interface language of this run.