vordenken/AutoPiP
vordenken/AutoPiP has 356 GitHub stars and 16 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-19 02:25 UTC. Last push 2026-09-25.
What you can do
- Automatic PiP when switching tabs or scrolling to YouTube comments
- Smart detection of actively playing videos
- Automatic disable when returning to video tab
- Support for multiple streaming platforms
Measured star growth
- in 24h
- 0
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
About
Automatically enables Picture-in-Picture mode when switching tabs and apps (macOS 13+ Safari Extention)
Developer ToolsREADME.md
OriginalAutoPiP for Safari
A Safari extension that automatically enables Picture-in-Picture (PiP) mode for videos when switching tabs or scrolling to comments.
✨ Features
- Automatic PiP when switching tabs or scrolling to YouTube comments
- Smart detection of actively playing videos
- Automatic disable when returning to video tab
- Support for multiple streaming platforms
- Global on/off toggle to temporarily disable AutoPiP without removing the extension
- Configurable keyboard shortcut to manually trigger PiP (default: ⌥P)
- Blacklist / Whitelist mode to control which sites AutoPiP is active on
🚀 Quick Start
Homebrew
brew tap vordenken/autopip https://github.com/vordenken/AutoPiP
brew install --cask vordenken/autopip/autopip
The Homebrew cask removes the quarantine attribute during installation. Launch AutoPiP once, then enable it in Safari → Settings → Extensions.
Manual installation
⚠️ macOS Gatekeeper: AutoPiP is not notarized by Apple. macOS will block both the DMG and the app with a security warning — this is expected. Follow the steps below to allow them. Once installed, updates via Sparkle work without this workaround.
- Download the latest
AutoPiP.dmgfrom Releases - Try to open the DMG — macOS will block it with "cannot be opened because it is from an unidentified developer"
- Open System Settings → Privacy & Security, scroll down and click "Open Anyway"
- Open the DMG again and drag
AutoPiP.appto your Applications folder
- Try to open
AutoPiP.app— macOS will block it again with the same warning- Open System Settings → Privacy & Security, scroll down and click "Open Anyway"
- Open the app again — it will guide you to enable the Safari extension
- Enable AutoPiP in Safari → Settings → Extensions
Updating: Open the AutoPiP app occasionally — Sparkle checks for updates automatically (once per day).
🎯 Compatibility
| ✅ Supported | ❌ Not Supported | ⁉️ Untested |
|---|---|---|
| YouTube | Amazon Prime | MAX |
| Twitch | Apple TV+* | |
| Disney+ | ||
| Paramount+ | ||
| Netflix | ||
| Jellyfin | ||
| BiliBili (哔哩哔哩) |
*AppleTV opens the native app instead of Safari
Most HTML5 video players should work. Compatibility may vary based on DRM restrictions and Safari/macOS versions.
💻 Requirements
- macOS 13.5 or later
- Safari 16 or later
I wanted to add Chrome/Firefox support but Safari is the only browser that allows calling PiP without user-interaction - So unless this changes, AutoPiP will be Safari only
🔨 Building & Releasing
See BUILD.md for instructions on building from source, releasing, and configuring repository secrets.
🤝 Contributing
As this is my first Swift/Xcode project, I welcome:
- Code reviews and suggestions
- Feature improvements
- Bug reports and fixes
New to contributing? Check out our contributing guide.
❤️ Support
If you find AutoPiP helpful, consider supporting its development:
📝 License & Privacy
- Licensed under GNU GPLv3 - see LICENSE file
- No personal data collection - see Privacy Policy
🙏 Acknowledgments
- Inspired by various PiP extensions
- Built with Safari Web Extension technology
- Thanks to the Swift and Safari development community for resources and documentation
- Updates via Sparkle
- Icons by icons8
Created by vordenken