views:

110

answers:

2

Hi

I discovered a strange behavoir of the MPMoviePlayerController on the iPad. I created an application for the iPad where you can choose different media (audio/video) from a list. The chosen media ist played on a detail view. There's no problem with playing audio and I can play every video at least once. The problem occures only when I choose a video a second time from the list. Then the detail view will show but the movie pauses. I can touch the play button as often as I want... it still won't start playing but pauses again immediately. The movie seems to load correctly because I can scroll through it via the slider and see the pictures. I even can watch several movies but as soon as I want to watch a movie a second time this issue occures. Does anybody know how to fix the problem??

Thanks Björn

A: 

I have almost exactly the same problem. Only the movie that im playing, I was able to play it as many times as I wanted then all of a sudden(after I edited my code a little bit) the exact same thing is happening.

I obviously remmoved any changes I made to my code to try and fix it but it still happens. I would appreciate help aswell.

funckymonk
A: 

This happened some time ago to me. The problem was not releasing all the view controllers responsible for the video. The unreleased controller seems to hold some kind of lock on the hardware and prevents other videos from playback. IIRC the SDK documentation mentions being able to play only one video at the time.

Grzegorz Adam Hankiewicz