Skip to content

gavink97/pipn

Repository files navigation

Pipn - Automatic Picture in Picture Mode for firefox

Pipn, a hacky way to get picture in picture mode to work automatically in firefox.

pipn screenshot

Getting Started

Installation

  1. Install pipn from 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 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 Ko-fi :)

Star

If you’ve found this useful please give it a star ⭐️ as it helps other developers find my repos.

Star History Chart

Contributors