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

    Interface WindowState

    The main window as plugin.window.state reports it (logical points).

    1.0.0

    interface WindowState {
        fullscreen: boolean;
        maximized: boolean;
        videoArea: { width: number; height: number };
        pictureInPicture: { supported: boolean; active: boolean };
    }
    Index
    fullscreen: boolean

    The main window is fullscreen.

    maximized: boolean

    The main window is maximized (false in fullscreen, also when it was maximized before and will be again after). Changes reach MainWindow.onChange. A plugin that sizes the window, such as to the video when playback starts, leaves a maximized window alone, as MPC-HC and mpv do. Always false with players before 0.6.3, which do not report it.

    0.6.3

    1.5.52

    videoArea: { width: number; height: number }

    The video column, without the bottom bar, sidebar and splitter.

    Type Declaration

    • Readonlywidth: number

      Logical points.

    • Readonlyheight: number

      Logical points.

    pictureInPicture: { supported: boolean; active: boolean }

    System picture-in-picture: supported on this system and build (macOS 14+; false on Windows, Linux and without a native window), active while its window shows the video.

    Type Declaration

    • Readonlysupported: boolean

      Picture-in-picture is possible here (macOS 14+ with a native window).

    • Readonlyactive: boolean

      The picture-in-picture window shows the video now.