Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Handheld.PlayFullScreenMovie not working on iOS9

Discussion in 'iOS and tvOS' started by ThomasVandenberghe, Nov 2, 2015.

  1. ThomasVandenberghe

    ThomasVandenberghe

    Joined:
    Feb 28, 2014
    Posts:
    22
    Hi,

    I'm currently having issues with the movieplayer on iOS9 in combination with XCode 7.0.1 (OS X 10.10.5). The video is placed on our server, but doesn't play, all I'm seeing is a black movieplayer with controls, but no movie and timings displayed like --/--.

    This does work on iOS 7 and 8, and it does also work on iOS 9 when building with XCode 6.2 (OS X 10.9.5)

    I'm working with Unity 4.6.5, and have tested it also with 4.6.7

    Code (CSharp):
    1. Handheld.PlayFullScreenMovie(url, Color.black, FullScreenMovieControlMode.Full, FullScreenMovieScalingMode.AspectFit);
     
    Last edited: Nov 3, 2015
  2. lmbarns

    lmbarns

    Joined:
    Jul 14, 2011
    Posts:
    1,628
    Im having the same issue.

    It works on my ipad 4 running ios 8.1.3 just fine but on iphone 5 and others running ios 9+ it shows black....

    edit:: ended up being some new ios9 app security policy issue, you have to create a key in the info.plist to override it or no network connectivity to http addresses will work, only https on ios9 devices
     
    Last edited: Jan 13, 2016