Picture-In-Picture API

Overview

Picture-In-Picture API allows web apps to create a floating video window always on top of other windows so that users may continue consuming media while they interact with other content or apps on their device.

Demo

https://nectar.website/demo/web-apis/picture-in-picture/

Usage

You can refer to the code present in /partials/web-apis/picture-in-picture.html file and use it accordingly.

Reference

https://developer.mozilla.org/en-US/docs/Web/API/Picture-in-Picture_API

Last updated