これが私のコードです:
-(void) playVideo
{
self.moviePlayer = [[MPMoviePlayerController alloc] initWithContentURL:self.criteriaFilter.videoUrl];
[self.moviePlayer prepareToPlay];
[self.moviePlayer.view setFrame:self.displayVideoView.bounds];
self.moviePlayer.shouldAutoplay = YES;
[self.displayVideoView addSubview:self.moviePlayer.view];
}
ポートレート モードでは、コントロールは正常に機能します (再生、一時停止、フルスクリーン)。ただし、ランドスケープ モードでは、すべてのボタンが無効になっているようです。この問題を解決するにはどうすればよいですか?