An open API service indexing awesome lists of open source software.

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

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.

++++


pipn screenshot


++++

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.

++++




Star History Chart


++++