PictureInPictureWindow: width property

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

Syntax

js

pictureInPictureWindow.width

Value

An integer value indicating the width 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-width

Browser compatibility

BCD tables only load in the browser

See also