Show HN: AutoPiP – Safari extension for automatic PiP on tab switch (v2)
github.comI posted the first version of AutoPiP here in November 2024. Since then I've kept chipping away at it, and v2 is finally ready.
The premise: I wanted truly automatic PiP for multitasking — switch a tab, video keeps playing in a floating window, no clicking required. Safari is the only browser that allows triggering PiP without a user gesture, which is what makes this possible at all.
v2 adds:
- Global on/off toggle in the toolbar (no need to uninstall to pause it)
- Configurable keyboard shortcut (default ⌥P) to manually trigger PiP
- Blacklist / Whitelist mode to control which sites it activates on
Works on YouTube (including PiP on scroll), Netflix, Twitch, Disney+, MAX, Paramount+, Jellyfin and most generic HTML5 players.
GitHub: https://github.com/vordenken/AutoPiP
Free, GPL-3.0, no telemetry.
Happy to answer questions about the Safari extension API quirks I ran into.