What is correct way to determine when the movie was finished to play (i.e. when played until the end or interrupted by touch in case CancelOnTouch flag) ?
During searching the forum I found one advice, that it is possible to do it by inserting yield statement just after invoke this command. And this is work great, but in not possible circumstances. For example during the video playing if user put device to sleep/standby and then wake it up, the video continues playing but yield statement gets finished and code continue to execute. As I understand during device wakeup, Unity get UnPause signal (but before it was paused by PlayMovie) and continue execution while video still playing. This leads to negative side effect, that during the video playing we start to load and show next scene (play audio voices and 3d animation) but video still playing on screen !!!
I guess it's a serious bug or I just don't know how to properly "cook" iPhoneUtils.PlayMovie function to make it work properly.
We already facing deadline with the project we do and this bug is considered by test team as serious and high prio to fix.
asked Nov 29 '10 at 11:01 PM
I also have the same question.
answered Oct 08 '11 at 01:50 PM