MPMoviePlayerController problems on iPad

Posted by Infinity on Stack Overflow See other posts from Stack Overflow or by Infinity
Published on 2010-03-30T14:32:01Z Indexed on 2010/03/30 14:33 UTC
Read the original article Hit count: 877

Filed under:
|

Hello guys!

I'm trying to use the MPMoviePlayerController class on the iPad.

here's my code:

            multimediaPlayer = [[MPMoviePlayerController alloc] initWithContentURL:[NSURL fileURLWithPath:path]];               
            multimediaPlayer.movieControlMode = MPMovieControlModeDefault;
            [multimediaPlayer play];

and this works very well on the iPhone but it don't want to run on the iPad. I hear the sound of the video, but the movie doesn't playing. Why it can be this problem?

© Stack Overflow or respective owner

Related posts about iphone-sdk-3.0

Related posts about ipad