Floating PIP Button = Enable Picture in Picture for mobile

JLCareglio
2025-02-01T01:34:47Z

Adds a floating button to toggle Picture-in-Picture mode for videos on mobile devices.

Floating PIP Button

This UserScript adds a floating button that enables Picture-in-Picture (PIP) mode for videos on mobile devices.

✨ Features

Adds a draggable floating button to enable PIP mode

Compatible with any website that has videos

Button appears automatically when videos are detected

Easy to use: one tap to toggle PIP

Long press or right-click to hide the button

🚀 Installation

1. Install Tampermonkey or another userscript manager

2. Click here to install the script

3. Visit any site with videos to try it out

💡 Usage

1. Navigate to any website containing videos

2. You'll see a floating PIP button when a video is detected

3. Tap the button to toggle PIP mode

4. Drag the button to reposition it

5. Long press to hide the button