我可以聽到大約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