PictureInPictureWindow

The PictureInPictureWindow interface represents an object able to programmatically obtain the width and height and resize event of the floating video window.

MDN Reference

Properties

Link copied to clipboard
val height: Int

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

Link copied to clipboard
val width: Int

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

Functions

Link copied to clipboard
Link copied to clipboard