Picture In Picture
An overview on requesting and tracking picture-in-picture changes.
RequestingSection titled Requesting
The player will use the Picture In Picture (PIP) on supported browsers and WebKit Presentation API on iOS Safari for entering and exiting PIP mode. You can request PIP changes by using the remote control or via methods on the player instance.
Remote ControlSection titled Remote Control
The media remote provides methods for dispatching
media-exit-pip-request request events like so:
MethodsSection titled Methods
exitPictureInPicture() methods are available on the
player component instance for requesting PIP mode changes:
StateSection titled State
The following PIP properties are available on the media store:
canPictureInPicture: Whether PIP is supported by the current browser or provider.
pictureInPicture: Whether the PIP mode is active.
StylingSection titled Styling
The following media data attributes are available for styling based on the current PIP state:
EventsSection titled Events
The following events are available for detecting PIP mode changes or errors: