Looping video with MoviePlayer?

Hi, I wish you all a merry Christmas :slight_smile:

I have a quite simple question.

I managed to play a video on iPad using iPhoneUtils.PlayMovie().
What I would like to do is to make it loop.
In the inspector for my video I checked the “loop” box, but that doesn’t change anything.

I tried a basic while(true) { iPhoneUtils.PlayMovie(…) } but all I got was an bad access error…

What am I missing?

I have another question, when I succeed in making my video loop, I would like it to loop until some event occurs (basically my iPad is a client and I want to stop the video when the server sends a “start game” event to it).

How can I do that?

Thanks in advance.
Vincent.

Hi

How did you get the video to play? I’ve been trying all day with no luck (i currently have an open post about it). I know this thread is old but thought i’d ask in case you see this :slight_smile:

Movie playing requires the movie to be mp4 and present in the StreamingAssets folder. See movie playback on iOS in the documentation.
Keep in mind that it is iOS Pro only