Open iframe video in fullscreen programmatically
问题 I open youtube video using iframe in webview. It shows default control buttons for video including fullscreen button. How can I call function of fullscreen button by myself? For example, I want go to fullscreen on landscape, but videos open in fullscreen only by tap on fullscreen button or while first loading. I need go to fullscreen while playing video. 回答1: Hope you are using YTPlayer for YouTube Videos. If not you can find the player here - GithubLink For YTPlayer, there's a parameter