iOS Question VideoPlayer Full Screen Issue

Discussion in 'iOS Questions' started by gregchao, Apr 13, 2019.

  1. gregchao

    gregchao Member Licensed 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."


    "*** 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.
  2. Erel

    Erel Administrator Staff Member Licensed User

    Can you reproduce it in a small project?
  3. gregchao

    gregchao Member Licensed 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.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice