views:

90

answers:

1

Hi I have several apps using a MPMoviePlayerController. These apps play HTTP Live streaming video fine when compiled with the older SDKs but with 4.1 on the iPad (3.2) the apps will only play audio and the standard controls are not showing. On iPhone devices (any version) it plays the videos just fine.

The code looks like this:

mMoviePlayer = [[MPMoviePlayerController alloc] initWithContentURL:mediaURL];
[[NSNotificationCenter defaultCenter] addObserver:self 
                                             selector:@selector(moviePlayBackDidFinish:) 
                                                 name:MPMoviePlayerPlaybackDidFinishNotification 
                                               object:mMoviePlayer];   
    mMoviePlayer.backgroundColor = [UIColor blackColor];
mMoviePlayer.movieControlMode = MPMovieControlModeDefault;
    [mMoviePlayer play];
A: 

As it turns out - now you have to use MPMoviePlayerViewController

http://stackoverflow.com/questions/2218158/using-mpmovieplayerviewcontroller-in-sdk-3-2-for-ipad

Thanks for the update Apple. :(

stinkbutt