0
我的應用程序中有一個UIWebView,它在iOS 4中正確播放視頻,但不在iOS 5中播放。這些是我的視頻鏈接。iOS 5 UIWebview不播放視頻?
1)http://myserverpath/mov015.3gp
NSURL *url = [NSURL URLWithString:self.selectedVideoUrl];
NSURLRequest *req = [[NSURLRequest alloc] initWithURL:url];
[webView loadRequest:req];
我也試過,但它也沒有奏效。
player =[[MPMoviePlayerController alloc] initWithContentURL: url];
[[player view] setFrame: [self.view bounds]];
[self.view addSubview: [player view]];
[player play];
請幫助我。
從Mobile-Safari訪問時,該視頻播放效果是否良好? – Till