iPhone App :How to play Youtube video in app using MPMoviePlayerController
问题 iPhone App :How to play Youtube video in app using MPMoviePlayerController for that i write the code: NSString *urlAddress = @"http://www.youtube.com/xyz"; NSLog(@"URL ADDress : %@",urlAddress); //Create a URL object. NSURL *url = [NSURL URLWithString:urlAddress]; movie = [[MPMoviePlayerController alloc] initWithContentURL:url]; movie.scalingMode=MPMovieScalingModeAspectFill; movie.view.frame = CGRectMake(0.0, 0.0, 320.0, 460.0); [self.view addSubview:movie.view]; [movie play]; if i pass the