self.videoController = [[MPMoviePlayerController alloc]initWithContentURL:url];
if([[UIScreen mainScreen] bounds].size.height>480)
[self.videoController.view setFrame:CGRectMake(0, 44, _viewVideoArea.frame.size.width, _viewVideoArea.frame.size.height)];
else
[self.videoController.view setFrame:CGRectMake(0, 44, _viewVideoArea.frame.size.width, 383)];
[self.viewVideoArea addSubview:self.videoController.view];
[self.videoController prepareToPlay];
[self.videoController play];
上面的代码是我对玩家的初始化。当播放器不在全屏模式下而不是在全屏模式下播放时,大型视频播放。然后,所有以全屏模式的按钮都不响应(包括完成按钮)。
链接还可以尝试以此响应完成按钮,但不起作用..不知道问题是什么。
任何人都可以帮助我解决我的概率
您尝试过
是否尝试过self.videoController.controlStyle = MPMovieControlStyleFullscreen;