x


Handheld.PlayFullScreenMovie only plays sound, but no video

I'm trying to play two fullscreen movie one after the other, the first one works without hitch, but the second one is always just a black screen with the sound of the movie. Any ideas what seems to be the problem?

more ▼

asked Mar 26 '12 at 04:05 AM

purplelilgirl gravatar image

purplelilgirl
183 2 4 5

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

1 answer: sort voted first

We had the same problem on iOS. Playing the movies from a coroutine and inserting a yield to wait for a second solved the problem.

IEnumerator PlayMovies() {
    iPhoneUtils.PlayMovie("Movie1.mov", Color.black, iPhoneMovieControlMode.CancelOnTouch);
    yield return new WaitForSeconds(1.0f);
    iPhoneUtils.PlayMovie("Movie2.mov", Color.black, iPhoneMovieControlMode.CancelOnTouch);
}
more ▼

answered Mar 26 '12 at 05:12 AM

nschrag gravatar image

nschrag
245 5 9 13

it worked! :D thank you :)

Mar 26 '12 at 05:37 AM purplelilgirl
(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:

x523
x281
x85
x11
x9

asked: Mar 26 '12 at 04:05 AM

Seen: 957 times

Last Updated: Mar 26 '12 at 05:37 AM