https://github.com/gavink97/pipn
Automatic Picture in Picture Mode for firefox
https://github.com/gavink97/pipn
browser-extension firefox firefox-extension picture-in-picture
Last synced: 5 months ago
JSON representation
Automatic Picture in Picture Mode for firefox
- Host: GitHub
- URL: https://github.com/gavink97/pipn
- Owner: gavink97
- License: mit
- Created: 2025-04-08T13:05:22.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-11-28T12:53:06.000Z (7 months ago)
- Last Synced: 2025-11-30T19:49:47.373Z (7 months ago)
- Topics: browser-extension, firefox, firefox-extension, picture-in-picture
- Language: JavaScript
- Homepage: https://addons.mozilla.org/en-US/firefox/addon/pipn-auto-picture-in-picture/
- Size: 21.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.adoc
- License: LICENSE
- Authors: AUTHORS
Awesome Lists containing this project
README
= Pipn - Automatic Picture in Picture Mode for firefox
ifdef::env-github[]
Gavin Kondrath <78187175+gavink97@users.noreply.github.com>
v1.0.0, 2025-01-31
:homepage: https://github.com/gavink97/pipn
endif::[]
:toc:
:toc-placement!:
:icons: font
Pipn, a hacky way to get picture in picture mode to work automatically in
firefox.
toc::[]
== Getting Started
=== Installation
1. Install pipn from https://addons.mozilla.org/en-US/firefox/addon/pipn-auto-picture-in-picture/[addons.mozilla.org (AMO)]
2. Make sure `media.videocontrols.picture-in-picture.enable-when-switching-tabs.enabled` is set to `true` in `about:config`
=== Build from source
```
gh repo clone gavink97/pipn .
cd pipn
npm install
make eb
make build
```
=== Using pipn
Once pipn is installed, on any browsing tab that has audio playing pipn will
attempt to enable picture in picture mode by creating a new tab when focus
leaves firefox. This is because Firefox does not support the https://bugzilla.mozilla.org/show_bug.cgi?id=1463402[Picture in
picture API].
Upon focus having returned to firefox, firefox will then close the newly created tab and return you
to the original tab.
== Contributing
I'm open to contributions.
== Support
If you're feeling generous you can support this project and others I make on
https://ko-fi.com/E1E119NG8M[Ko-fi] :)
== Star
If you've found this useful please give it a star ⭐️ as it helps other developers
find my repos.