iOS Question VideoPlayer Full Screen Issue

gregchao

Active Member
Licensed User
Longtime User
I am using VideoPlayer. When playing a video and going to full screen, I get the following warning in debug mode,
"*** Warning: <AVPlayerViewController: 0x15605f600> is trying to enter full screen, but is not in its view's window's view controller hierarchy. This results in undefined behavior."

Then,

"*** Warning: <AVPlayerViewController: 0x15605f600> was deallocated while its contents were being presented full screen. ***"

The video player either freezes(iPhone) or exits(iPad). Any insight into what is wrong and how I can fix it? I would prefer to suppress full screen mode if possible.
 

gregchao

Active Member
Licensed User
Longtime User
I have decided to use the VideoPlayer1.ShowControls = False and create my own control panel without the full screen option since I did not want this option anyway. Thanks.
 
Upvote 0
Top