PiPTool is a Safari 10 extension built to add the Picture-in-Picture functionality to the video players that do not have it implemented.
For example, YouTube or DailyMotion don't have the default HTML5 video player, so Safari cannot add the PiP button. This is where PiP Tool comes in place.
Additionally, the extension comes with a menu button. Just click it and then select any video from the page.
- Download the extension from here: https://bfmatei.github.io/extensions/PiPTool.safariextz
- Open the downloaded file
- Click trust
- Prerequisites: Node.js, Grunt, JSCS and JSHint
- Clone the repo
- Use "npm install" to install the needed packages
- If you want to develop, use "grunt live" to build and then listen for changes in the project files
- If you want to build the extension, use "grunt build"
Note: you need to use Safari to build the ".safariextz" file. The build command above just generates the files for Safari.
- Fix Search mode
- Changed versioning type
- Improved Plex native support
- Added settings for additional Plex domains. The settings are accessible via Extensions panel in Safari preferences. You can add 1 domain like this: "test.com" or multiple domains "test1.com|test2.com|test3.com". IPs are supported too.
- Improved picker mode by adding a red border to the current hovered element
- Improved menu icon
- Added menu button to trigger the PiP mode manually for a picked video. Just click the PiPTool button then navigate with the mouse above page elements. If the selected element is a video, then it will trigger the PiP mode.
- Reorganized the project a little
- Added initial Plex support
- Added Netflix support (many thanks to Joe Kuhns for his hard work)
- Fixed issue with YouTube not working on embedded videos
- Improved the performance by triggering the plugin only on the supported websites (thanks, again, to Joe Kuhns)
- Created a more programatic way to handle the project (instructions coming soon)
- more to come
- Fixed PiP button not displaying when navigating to a movie from YouTube homepage
- Added the possibility to bind custom event to trigger the PiP button loading
- Possible fix for the https://github.com/bfmatei/PiPTool.safariextension/issues/3
- Add the possibility to auto-update the extension
- Add functionality for DailyMotion. More to come soon
- Optimize the code
- Make it work with all the YouTube videos in a page (for multiple embedded videos on same page)
- Simplify the code by removing unnecessary attribute
- Changed icon with the one offered in Material Design Icons
- Initial release
- When leaving picture-in-picture mode the video stops