0

YouTube ビデオを表示しようとしていますが、YTPlayerView がフルスクリーンで表示される場合とそうでない場合があります。常にフルスクリーンにしたい。どうすれば達成できますか?

ytView = [[YTPlayerView alloc] initWithFrame:self.view.bounds];
ytView.backgroundColor = self.view.backgroundColor;
ytView.delegate = self;
NSDictionary *playvarsDic = @{ @"controls" : @1, @"playsinline" : @0, @"autohide" : @1, @"showinfo" : @1, @"autoplay": @1, @"modestbranding" : @1 };
[ytView loadWithVideoId:firstImage.Source playerVars: playvarsDic];
4

2 に答える 2