title: AVPlayer not working iOS Swift
body: <p>I'm trying to play an external html video with AVPlayer but for some reason I can't get it to work. I've been trying to read every question about this but none of the suggested answers seems to work. I've also tried to find if something has been changed for Swift 3 or Xcode 8.0 but with no luck. </p>
  
  <p>Is my code wrong or do I need to do something else to make it work? Enable it in capabilities or something similar? </p>
  
  <pre><code>    let url = NSURL(fileURLWithPath: "http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4")
      let player = AVPlayer(url: url as URL)
      let playerViewController = AVPlayerViewController()
      playerViewController.player = player
  
      playerViewController.view.frame = CGRect(x: 0, y: 0, width: 100, height: 200)
      self.view.addSubview(playerViewController.view)
      self.addChildViewController(playerViewController)
  
      player.play()
  </code></pre>