Is there a way to get YTPlayerView to play full screen on an iPad?

前端 未结 1 2253
故里飘歌
故里飘歌 2021-02-20 11:33

In loadWithVideoId:playerVars: I\'m setting playsinline to @0.

I\'m also calling ytPlayer.webView.allowsInlineMediaPlayback

1条回答
  •  被撕碎了的回忆
    2021-02-20 12:07

    Find the YTPlayerView-iframe-player.html file and add the following css style.

    
    

    I see YTPlayerView play in fullscreen on iPhone and iPad both.

    0 讨论(0)
提交回复
热议问题