我可以听到大约5秒的音频,然后我的屏幕是不断“加载电影...”问题,玩视频的MPMoviePlayerController为iPad
我在模拟器上测试。
STVideo *mySTVideo;
mySTVideo = [items objectAtIndex:indexPath.row];
moviePlayerViewController = [[MPMoviePlayerViewController alloc] initWithContentURL:[NSURL URLWithString:mySTVideo.video_url]];
NSLog(@"URL: %@", mySTVideo.video_url);
moviePlayerViewController.view.backgroundColor = [[UIColor alloc] initWithPatternImage:[UIImage imageNamed:@"st-screen.png"]];
[self presentMoviePlayerViewControllerAnimated:moviePlayerViewController];
[moviePlayerViewController release];
检查这个http://cocoabugs.blogspot.com/2010/08/troubleshoting-iphone.html – 2011-01-13 07:41:10