x


What is correct way to determine when iPhoneUtils.PlayMovie is finished ?

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.

Thanks.

Regards, Vyacheslav

more ▼

asked Nov 29 '10 at 11:01 PM

hunter gravatar image

hunter
11 2 2 3

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

I also have the same question.

more ▼

answered Oct 08 '11 at 01:50 PM

btiger gravatar image

btiger
40 4 4 8

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x3722
x1953
x13

asked: Nov 29 '10 at 11:01 PM

Seen: 1253 times

Last Updated: Oct 08 '11 at 01:50 PM