An open API service indexing awesome lists of open source software.

https://github.com/eternal-flame-ad/picture-in-picture

Provide picture in picture functionality to HTML5 videos on supported browsers
https://github.com/eternal-flame-ad/picture-in-picture

acfun html5-video picture-in-picture tampermonkey userscript web-video

Last synced: 6 months ago
JSON representation

Provide picture in picture functionality to HTML5 videos on supported browsers

Awesome Lists containing this project

README

        

# Picture In Picture

[![Install on Greasy Fork](https://img.shields.io/badge/install-Greasy%20Fork-green.svg)](https://greasyfork.org/en/scripts/375384-picture-in-picture)

Provide picture in picture functionality to HTML5 videos on supported browsers using the new [Picture in Picture](https://wicg.github.io/picture-in-picture/) API.

## Installation

1. [Lookup on caniuse.com](https://caniuse.com/#feat=picture-in-picture) or use this [Pen](https://codepen.io/anon/pen/aPzvZo) or use the [Official Sample Page](https://googlechrome.github.io/samples/picture-in-picture/) to check if your current browser supports the PiP API.

1. Install [Tampermonkey](https://tampermonkey.net/) browser extension.

2. Install the UserScript [here](https://github.com/eternal-flame-AD/picture-in-picture/raw/master/index.user.js).

## Tested on

- [Bilibili](https://www.bilibili.com/)

![Bilibili Demo](https://cdn.jsdelivr.net/gh/eternal-flame-AD/picture-in-picture/img/demo-bilibili.png)

- [AcFun](http://www.acfun.cn/)(With the [AcFun HTML5 Player](https://github.com/esterTion/AcFun-HTML5-Player) extention)

![AcFun Demo](https://cdn.jsdelivr.net/gh/eternal-flame-AD/picture-in-picture/img/demo-acfun.png)

- [YouTube](https://www.youtube.com/)

![YouTube Demo](https://cdn.jsdelivr.net/gh/eternal-flame-AD/picture-in-picture/img/demo-youtube.png)

## Attributions

Icons made by Freepik from www.flaticon.com is licensed by CC 3.0 BY