Just thought you might know - Apple added a new feature in the latest MacOS update that does the same thing. It's called Video Viewer and you can turn it on when a video is playing by clicking the icon that looks like the rectangle with two lines under it. Yours is seamless and you don't have to turn it on every time, though.
Show HN: AutoPiP – Safari extension for automatic Picture-in-Picture mode
11–17 of 17 posts
Re: Show HN: AutoPiP – Safari extension for automatic Picture-in-Picture mode
#12Earlier quoted context omitted.
I'm surprised to see native code in a web extension.
Safari doesn’t use the same extension architecture as Chrome and Firefox. https://developer.apple.com/documentation/SafariServices/saf...
Re: Show HN: AutoPiP – Safari extension for automatic Picture-in-Picture mode
#13As stated in the readme, this is my first coding project using Swift and Xcode. As a beginner, I welcome any help, suggestions, or contributions to improve the code and functionality!
Nice work! As someone who's about to try their hand at their first Safari extension (and first web extension period, something in the spirit of Tabs Outliner), do you have any tips or tricks you could share?
Re: Show HN: AutoPiP – Safari extension for automatic Picture-in-Picture mode
#14Amazon has prior art on AutoPIP
Re: Show HN: AutoPiP – Safari extension for automatic Picture-in-Picture mode
#15Amazon has prior art on AutoPIP
Re: Show HN: AutoPiP – Safari extension for automatic Picture-in-Picture mode
#16This extension would be able to read and alter web pages and see your browsing history on this website. This could include sensitive information, including passwords, phone numbers and credit cards.
You can change this later in the Websites section of Safari Settings.
Re: Show HN: AutoPiP – Safari extension for automatic Picture-in-Picture mode
#17Why do you need to have a lot of permissions for the extension? This extension would be able to read and alter web pages and see your browsing history on this website. This could include sensitive information, including passwords, phone numbers and credit cards. You can change this later in the Websites section of Safari Settings.
- The extension requires permission to "Access all websites" solely to detect video players and enable Picture-in-Picture functionality across different websites
- No data is collected, stored, or shared with third parties
- All functionality operates locally on your device