title: How to play video inline with WkWebView
body: <p>When you use an iphone and play video in a webview, this video is open in the native player in fullscreen.</p>
  
  <p>We have tried UIWebView and WKWebView with "allowsInlineMediaPlayback" property to true. But the video in the web content launch in fullscreen with an iphone iOS 10.2. Have you and idea what i can do ?</p>
  
  <pre><code>let webConfiguration = WKWebViewConfiguration()
  // Fix Fullscreen mode for video and autoplay
  webConfiguration.preferences.javaScriptEnabled = true
  webConfiguration.mediaPlaybackRequiresUserAction = false
  webConfiguration.allowsInlineMediaPlayback = true
  
  webView = WKWebView(frame: CGRect(x: 0, y: 0, width:self.backgroundView.frame.width, height:self.backgroundView.frame.height), configuration: webConfiguration)
  </code></pre>
  
  <p>Env : Xcode 8, swift 3</p>