All specs
W3C PiPW3CNicheProduct

Picture-in-Picture API

Device Access & Sensors·World Wide Web Consortium
WHY YOU NEED THIS

Required for video players, video calls, and live streaming UIs that need to stay visible while multitasking. Document PiP extends this to custom player controls, chat overlays, and productivity widgets.

What It Defines

Defines video.requestPictureInPicture() for floating a video in a small overlay window that stays on top while navigating to other tabs/apps. Includes the Document PiP API for arbitrary HTML content. Events: enterpictureinpicture, leavepictureinpicture.

Canonical (Normative)

Convenient (Practical)

pippicture-in-picturevideooverlaymultitaskbrowser
Standards Body
World Wide Web Consortium

Publishes web platform specs including CSS, accessibility, security policies, Service Workers, Web App Manifest, and many browser APIs. Also maintains some versioned HTML/DOM specs.

Visit

Related Specs

WHATWG FullscreenWHATWGShould Know

Fullscreen

Required for video players, presentations, games, and immersive experiences. Understanding the security restrictions (user gesture required, no cross-origin iframes by default) prevents fullscreen request failures.

ProductDevice Access & Sensors
Details
W3C Media CaptureW3CMust Know

getUserMedia

Required for video calls, audio recording, photo capture, barcode scanning, and AR experiences. Understanding constraints, track lifecycle (enabled, muted, ended), and device enumeration prevents broken camera/mic UX.

ProductDevice Access & Sensors
Details