title: Play youtube full screen on landscape, but inline on portrait - on iPhone
body: <p>I have a view with a UIWebView on half the size of the iPhone screen.
  In this webview I embed youtube videos.
  The app is only in portrait mode. Though I would like to see videos play also in landscape.</p>
  
  <p>Now I want the following behaviour:</p>
  
  <ol>
  <li>When in portrait, play inline, don't go full screen.
  a. For that I use "webView.allowsInlineMediaPlayback=YES;"
  b. I open the webview with this link: "www.youtube.com/embed/videoid?playsinline=1"</li>
  <li><strong>If the user rotates the screen to landscape, I'd like the video to go full screen</strong>. </li>
  <li>If the user then rotates back to portrait, I'd like the video to get inline again.</li>
  <li>The rotations shouldn't stop the video in the middle, or restart the play.</li>
  </ol>
  
  <p>What should I do?</p>