iPad MPMoviePlayerController only hearing audio, no videos!
- by Steph Moreau
I am currently rebuilding my app for the iPad.
I would like to play the videos sourced online. I display the information and when i go to play the video all i get is the audio... No video is shown at all. My page looks exactly the same except that i have some "background" noise.
These are the same videos i use on the iPhone app and they work perfectly
This is the code that i call to play my videos
- (IBAction) playMovie{
NSURL *url = [NSURL URLWithString:vidMovie];
MPMoviePlayerController *moviePlayer = [[MPMoviePlayerController alloc]initWithContentURL:url];
[moviePlayer play];
}
I am using this on a button on the right side view of a splitViewController.
I get the same result in my simulator as on an iPad.
Not sure if i'm missing something, but if anyone can help it would be greatly appreciated!