Documentation sections

Scope of support

Picture-in-Picture (PiP) allows users to watch videos in a floating window (always on top of other windows) so they can keep an eye on what they're watching while interacting with other sites, or applications. With the new Picture-in-Picture Web
API, you can initiate and control Picture-in-Picture for video elements on your website. With Radiant Media Player 5.0.12 we have added native support for the Picture-in-Picture Web API, this is made available as
a player module.

As of December 2018 the PiP module is available for latest Chrome, Opera and Vivaldi for Desktop.

With version 5.1.5 of Radiant Media Player we have added support
for PiP in latest Safari for Desktop and iPad.

Chrome for Android automatically plays Picture-in-Picture video on mobile with the release of Android 8 using a native Android API. It allows users to play a video element in a small overlay window that isn't blocked by other windows,
so that they can watch while doing other things. Here's how it works: open Chrome for Android, go to a website that contains a video and play it fullscreen. From there, press the Home button to go to your Android Home Screen and the playing
video will automatically transition to Picture-in-Picture. This Android 8+ PiP feature is also supported with Radiant Media Player.

Player settings

pip: Boolean

Enables or not picture-in-picture module. Default: false. Note that hlsJSCapLevelToPlayerSize and
shakaCapLevelToPlayerSize are automatically set to false when pip setting is set to true.