PiPifier:可以让 HTML5 视频以图片模式播放的 Safari 扩展工具栏

1,312 阅读1分钟
原文链接: github.com

PiPifier

PiPifier is a native macOS 10.12 Safari extension that lets you use every HTML5 video in Picture in Picture mode

Download

You can get the developer signed app here

How to use?

If you have an HTML5 video playing on any website like Youtube just press the PiPifier icon in Safari's toolbar to enable Picture-In-Picture for this video. Make sure you did interact with the video player once before pressing (like play/pause).

Demo

Requirements

For usage: macOS 10.12
For developement: Xcode 8

Installation

(0. Launch PiPifier)
1. Open Safari and go to Preferences
2. Go to Extensions
3. Enable PiPifier (If you don't see PiPifier and you built the app by yourself you need to sign it or choose Developer -> Allow unsigned extensions)
4. Choose View > Customize Toolbar and drag the PiPifier icon to your toolbar
5. To use Pipifier just press the icon when you're watching to an HTML5 video (Note: You need to interact with the video once. If it's autoplaying just pause and play again)

Note for developers

The code is a bit dirty and there are some unused parts in it (Tried to add more features before I needed to focus on other things). If you want to help me clean it up feel free to do so :)

Contact

Made by @arno_app with an important bug fix by @Cacauu_de