title: xcode 8 || AVPlayer is showing video however it's not playing
body: <p>I have this simple code to play an online video. After doing the HTTP permission option, it did start to show the video and I can scroll through it, however, it doesn't play at any point. Here is the code. I would appreciate if someone could help me with this.</p>
  
  <p>regards,
  A Beginner Coder </p>
  
  <pre><code>import UIKit
  import AVKit
  import AVFoundation
  
  class ViewController: UIViewController {
  
  var playerViewController = AVPlayerViewController()
  var playerView = AVPlayer()
  
  
  
  override func viewDidLoad() {
      super.viewDidLoad()
      // Do any additional setup after loading the view, typically from a nib.
  
  
  }
  override func viewDidAppear(_ animated: Bool) {
      let movieUrl: NSURL? = NSURL(string: "http://clips.vorwaerts-gmbh.de/VfE_html5.mp4")
      playerView = AVPlayer(url: movieUrl as! URL)
      playerViewController.player = playerView
  
      self.present(playerViewController, animated: true){
          self.playerViewController.player?.play()
      }
  
  }
  
  }
  </code></pre>