SuperPiP

Enable native video controls with Picture-in-Picture functionality on any website

当前为 2025-06-03 提交的版本,查看 最新版本

作者
Toni Oriol
评分
0 0 0
版本
0.0.1
创建于
2025-06-03
更新于
2025-06-03
大小
4.8 KB
许可证
AGPL-3.0-or-later
适用于
所有网站

SuperPiP - Universal Picture-in-Picture Video Controls

Description

Enable native video controls with Picture-in-Picture functionality on any website. This userscript automatically adds video controls to videos that don't have them and removes overlay elements that might interfere with video playback.

Features

  • ✅ Enables native HTML5 video controls on all videos
  • ✅ Removes overlay elements that block video interaction
  • ✅ Supports Picture-in-Picture mode (especially optimized for iOS Safari)
  • ✅ Works on any website with video content
  • ✅ Automatically detects dynamically loaded videos
  • ✅ Lightweight and non-intrusive

How it works

  1. Scans all video elements on the page
  2. Enables native browser controls for each video
  3. Detects and hides overlay elements positioned on top of videos
  4. Monitors for new videos added to the page dynamically
  5. Special handling for iOS Safari to enable Picture-in-Picture functionality

Compatibility

  • Works on all websites with HTML5 video content
  • Optimized for mobile Safari on iOS
  • Compatible with YouTube, Vimeo, Facebook, Instagram, TikTok, Twitch, and more