W3cubDocs

/Web APIs

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

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
width 69 79 No No 56 13.1 No 105 No 72 13.4 20.0

See also

© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/PictureInPictureWindow/width