PictureInPictureWindow.height

The read-only PictureInPictureWindow property height returns the height of the floating video window in pixels.

Syntax

let height = pictureInPictureWindow.height;

Value

An integer value indicating the height of the floating video window in pixels. This property is read-only, and has no default value.

Specifications

Specification
Picture-in-Picture
# ref-for-dom-pictureinpicturewindow-height

Browser compatibility

BCD tables only load in the browser

See also