In loadWithVideoId:playerVars: I\'m setting playsinline to @0.
loadWithVideoId:playerVars:
playsinline
@0
I\'m also calling ytPlayer.webView.allowsInlineMediaPlayback
ytPlayer.webView.allowsInlineMediaPlayback
Find the YTPlayerView-iframe-player.html file and add the following css style.
<style> body { margin: 0; width:100%%; height:100%%; } html { width:100%%; height:100%%; } </style>
I see YTPlayerView play in fullscreen on iPhone and iPad both.