Web API Picture-in-Picture Methods
- HTMLVideoElement.requestPictureInPicture(): Method used to request that a video element on a web page enters Picture-in-Picture (PiP) mode.
- Document.exitPictureInPicture(): It is used to exit the Picture-in-Picture (PiP) mode and return the video or media element to its regular display mode.
Web API Picture-in-Picture
Web API Picture-in-Picture feature enables websites to display a video in a floating window that stays on top of windows. This allows users to keep watching videos while interacting with content or applications, on their device.
Contact Us