I am trying to get the MPMovieplayerController to work. I load a video everything goes wel i even see the first frame but then it automatically pauses, if i press play it pa
Had the same problem. Video was playing ok on simulation but not on device. The problem was either on my HTML5 code embeded in the UIView or on the mp4 video compression, I don't know what fixed it but I suggest you try both. I am still getting the error when I am testing the video on the device, but the video plays just fine!
Found the solution just restart the ipad and it works again weird but thats it :)
Set the property "useApplicationAudioSession" of the MPMoviePlayerController to "NO" to resolve the problem.
I had an issue on the device where the video would show up but not play. I could scrub. The fix for me was that I was using the avaudiorecorder, and I was releasing it before playing the video without stopping the audio recorder. My solution was to add the stop call to the recorder before starting the video:
[recorder stop];
[recorder release];
Avaudioplayer was causing my problem. Apperently on the iPad Avaudioplayer and Mpmovieplayercontroller cannot both play at the same time.
If an Avaudioplayer object is open the Mpmovieplayer will only display a frame and immediately stop playing.
As far as I can tell this only happens with iPad device 3.2.1 and SDK 4.0.1; simulators and the iPhone work fine
I switched back to Audioservices since I need Audioplayer and Movieplayer to play at the same time.