The read-only PictureInPictureWindow
property width
returns the width of the floating video window in pixels.
The read-only PictureInPictureWindow
property width
returns the width of the floating video window in pixels.
js
pictureInPictureWindow.width
An integer value indicating the width of the floating video window in pixels. This property is read-only, and has no default value.
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 |
© 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