-
-
Notifications
You must be signed in to change notification settings - Fork 780
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use AVPictureInPictureController for supporting picture-in-picture #691
Conversation
Amazing that this has been working for so long without it ever breaking in newer OS versions (I think) |
fascinating :) This suggests that whoever is providing PIPViewControllerDelegate has a pretty defensible position, isolated from the substantial changes in window management and graphics frameworks since 2015 (when this app was born, according to |
The biggest difference in the api surface seems to be we cannot distinguish between the return button and the close button. The upside is I think all the goofy layer moving code can be removed. Pros and cons, but we've been talking about simplifying implementation as a theme going forward, so the minor experience change is probably worth it. |
Seems we spoke too soon, the PIP button in the player UI cannot exit PIP! Also, the private API cannot replace a PiP video that is playing from another application, while the public API can! |
deac057
to
e334a5a
Compare
421c9fb
to
a9654d5
Compare
a9654d5
to
217ad3f
Compare
Tested in macOS 12, 13, and 14 beta, didn't find any issues ✅ |
No description provided.