Search Unity

Playing MP4 videos on Unity in Blackbery

Discussion in 'BlackBerry' started by Javier17, Jan 7, 2014.

  1. Javier17

    Javier17

    Joined:
    Sep 6, 2013
    Posts:
    7
    Hi all!,

    i am porting a game from IOS to Blackberry, on my game i have this line:

    iPhoneUtils.PlayMovie ("animation.mp4", Color.black, iPhoneMovieControlMode.Hidden,iPhoneMovieScalingMode.Fill);

    it'ts mean that i need to play a video called animation.mp4, if i call this method on Android and IOS is working perfectly, on Blackberry i have a compilation issue.


    how can i do the same on Blackberry? any workarround?


    Best!!


    Javier
     
  2. AlexThibodeau

    AlexThibodeau

    Unity Technologies

    Joined:
    Jul 23, 2013
    Posts:
    309
    What is the compilation error that you see?
     
  3. Javier17

    Javier17

    Joined:
    Sep 6, 2013
    Posts:
    7
    Hi Alex!

    i realize that iPhoneUtils is not avariable for Blackberry just for Android and IOS.


    i try with this:

    Handheld.PlayFullScreenMovie ("animation.mp4", Color.black, FullScreenMovieControlMode.Hidden, FullScreenMovieScalingMode.Fill);


    and now is working... but just the sound, the screen is black. :(


    any ideas?


    Best!
     
  4. AlexThibodeau

    AlexThibodeau

    Unity Technologies

    Joined:
    Jul 23, 2013
    Posts:
    309
    In PlayerSettings under Resolution and Presentation, do you have 32bit display buffer checked?
     
  5. Javier17

    Javier17

    Joined:
    Sep 6, 2013
    Posts:
    7
    it was a problem in the configuration of the project, i re do the project and use Handheld.PlayFullScreenMovie and everyting is working perfect now :)