-
Notifications
You must be signed in to change notification settings - Fork 10
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
Add PiP support to SystemVideoView
#610
Comments
SystemVideoView
@waliid discovered that the usual For this reason our
|
The approach of sharing |
The system video view has two modes:
We should document these use cases. We should also document that the use case start inline, maximize, move to PiP with dismissal is not supported. Dismissal is namely only intended for full screen use. Our demos should also be updated to have both these use cases properly implemented. |
FB11934227 is still an issue with the new implementation. |
The screen is prevented from sleeping while playing in PiP. No further |
As a developer integrating Pillarbox and the standard system UI I want to be able to add PiP support to my application.
Acceptance criteria
Tasks
AVPlayerViewController
inVideoView
view controller representable.Improve example names (VideoPlayer
examples vs. other examples which use our own system view). Maybe we could have simpleAVPlayerViewController
vanilla wrapping andVideoPlayer
sections for comparison.preventsDisplaySleepDuringVideoPlayback
. Create story if needed.Improve PiP lifecycle protocol:Remove Boolean from completion (always passtrue
internally).Think about anasync
variant instead if feasible / meaningful.The text was updated successfully, but these errors were encountered: