PlayMovie not controlable!

Hi,

why in hell unity don’t pause direct after calling iPhoneUtils.PlayMovie ?

It pause later after a few seconds, but why? I have no chance to have any control of my screen flow.

  1. i load the first scene, its the splash screen
  2. within the splash screen i start PlayMovie
  3. after PlayMovie i load the next scene
  4. Unit won’t pause the game, it loads the next sceene and display the start screen
  5. Unfortunaly the Movie start to play - but this was called even in the last scene !
  6. The movie interupt my start screen and music. This looks so unproffessionel !!!

Second try

  1. the first scene loads, its the splash screen
  2. within the splash screen i start the video
  3. i the splash screen i wait for 3 sec to load the video and let him time to start
  4. fine - the video appears
  5. but after the video is done and the start screen was loaded my title music won’t start. What happen here ?

Is the solution to control the video in Objective C# ? Direct in applicationDidFinishLaunching ?

Please help, thanks

wait with the scene switch until your video is done.
Don’t play “smarty pant” by trying to run the video and continue loading as the active media player blocks the audio hardware.

if you go that way you will likely have to create 2 small xcode functions that you call. one that pauses the audio in unity and one that unpauses it once the movie is done

“wait with the scene switch until your video is done.”

This is exactly what is not working ! I start to play a video and then i load the scene. But this is exactly what is not working ! Unity is not going into pause, i have to wait 5 sec to be sure Unity has started the video.

Maybe this bug occure only if you have a huge game with much memory ammount. Could this be?