We’re days away from shipping a fairly large project, and our client wants to use an animating logo.
The code currently runs our m4v.
But when we call the PlayMovie function with CancelOnTouch, some devices show the play controls for a split second before proceeding without them.
Has anyone else seen this?
Is there a way to insure that the play controls don’t flicker?
I wouldn’t have even thought twice about this issue, but our client seems particularly bothered by it. I’ve offered to switch the logo to a static image, but they want the animated version without the noticeable play control flicker.
I don’t have a concrete answer, but are all the devices running the same OS version? Video playback seems to be one of the things Apple tinkers with a lot.
Another option is to create an animated sprite logo that plays in its own scene, followed by a static loading image.
Well actually we use a native Apple video player for playing movies. So this may be Apple bug actually.
Anyway, please submit a bugreport on this. I’ll look at your case and test with a bunch of devices.
I’m seeing this as well on a 2nd gen iPod Touch running 3.1… One thing I’ve noticed is that if I have a button trigger the movie playback, everything is fine and it doesn’t stutter the playback controls (like if I have my intro movie play after the main menu but right before level 1).
If I setup a seperate scene though as the default scene to load after the startup screen then it seems to do flash the controls briefly… Here’s the simple script code I’m using which produces this problem in a new default scene that loads after the splash screen but before the main menu…
function Start () {
iPhoneUtils.PlayMovie("Title.m4v", Color.black, iPhoneMovieControlMode.CancelOnTouch);
Application.LoadLevel ("MainMenu");
}
Adding a small wait eliminates the flashing controls, although you get a blank screen for 1 second in-between the title logo screen and the movie. If you have content you could put into a second logo screen you could probably eliminate this… I tried using less than 1 second as well but the controls seemed to still flash…
function Start () {
yield new WaitForSeconds (1);
iPhoneUtils.PlayMovie("Title.m4v", Color.black, iPhoneMovieControlMode.CancelOnTouch);
Application.LoadLevel ("MainMenu");
}