Firefox Tomorrow

web api instance property

PictureInPictureWindow: width property

View on MDN ↗

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

Value

An integer value indicating the width of the floating video window in pixels if the Picture-in-Picture window is open. Otherwise, it returns 0.

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.

See also