Hi,
I was using the the following Code in XCode 3.1.4 to play a movie from a URL, but in the new XCode 3.2.3 it no longer works.
Code:
- (IBAction)playButtonPresses:(id)sender{
NSString *movieURL = @"http://www.knightlite.net/myvideo.m4v";
MPMoviePlayerController *moviePlayer = [[MPMoviePlayerController alloc] initWithContentURL:[NSURL URLWithString:movieURL]];
[moviePlayer play];
Does anyone know how to modify this code to make it work with the new SDK? Or point me in the direction of a "SIMPLE" example. I'm really new to this. I did look at the following URL, but I could not understand how to make it work with what I had.
Getting MPMoviePlayerController to Work with iOS4, 3.2 (iPad) and Earlier Versions of iPhone SDK
Any help would be greatly appreciated. I just need a way to play a video from a URL.
Thank you.
Jim