The read-only PictureInPictureWindow
property height
returns the height of the floating video window in pixels.
PictureInPictureWindow.height
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
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 | |
height |
69
|
79
|
No
|
No
|
56
|
13.1
|
No
|
No
|
No
|
No
|
13.4
|
No
|
See also
© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/PictureInPictureWindow/height