title: AVPlayer is not working when I'm trying to use with this YTVimeoExtractor
body: <p>When I try to play the video through the AVPlayer, the video loads for some time(the loading symbol appears at the top of the player) then suddenly it stops and the play icon with a crossover is shown. Don't know what is wrong? I can get the video informations but I can't make the video to play.
  I will show what I have done. Could anyone answer my question, help is much appreciated.</p>
  
  <pre><code>import UIKit
  import AVKit
  import AVFoundation
  
  class ViewController: UIViewController {
  
  var playerVC : AVPlayerViewController!
  var playerItem : AVPlayerItem!
  var player : AVPlayer!
  var playerLayer: AVPlayerLayer!
  
  
  @IBOutlet weak var videoURL: UITextField!
  @IBOutlet weak var videoTitle: UILabel!
  @IBAction func playVideo(sender: AnyObject) {
  
      YTVimeoExtractor.sharedExtractor().fetchVideoWithVimeoURL(self.videoURL.text!, withReferer: nil, completionHandler: {(video, error) -&gt; Void in
  
          if video != nil {
  
  
              // https://vimeo.com/165891648
              self.videoTitle.text = video?.title
  
              print("hello: \(self.videoTitle.text)")
  
              let url = NSURL(string: self.videoURL.text!)
  
  
  //                let url = NSURL.init(fileURLWithPath: self.videoURL.text!)
  
              self.playerItem = AVPlayerItem.init(URL: url!)
              self.player = AVPlayer.init(playerItem: self.playerItem)
              self.playerVC = AVPlayerViewController.init();
              self.playerVC.player = self.player;
              self.player.currentItem!.playbackLikelyToKeepUp
  
              self.presentViewController(self.playerVC, animated: true) { () -&gt; Void in
                  self.playerVC.player?.play()
              }
  
          }else {
  
              let alert = UIAlertController(title: error!.localizedDescription, message:  error!.localizedFailureReason, preferredStyle: UIAlertControllerStyle.Alert)
              alert.addAction(UIAlertAction(title: "OK", style: UIAlertActionStyle.Default, handler: nil))
              self.presentViewController(alert, animated: true, completion: nil)
  
          }
  
      })
  
  
  
  }
  override func viewDidLoad() {
      super.viewDidLoad()
      // Do any additional setup after loading the view, typically from a nib.
  
  
  }
  
  override func viewDidAppear(animated: Bool) {
  
          }
  
  override func didReceiveMemoryWarning() {
      super.didReceiveMemoryWarning()
      // Dispose of any resources that can be recreated.
     }    
  }
  </code></pre>
  
  <p>This is the one I get on the simulator.</p>
  
  <p><a href="https://i.stack.imgur.com/iWWY9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/iWWY9.png" alt="enter image description here"></a></p>
  
  <p>I used this <a href="https://github.com/lilfaf/YTVimeoExtractor" rel="nofollow noreferrer">https://github.com/lilfaf/YTVimeoExtractor</a> one to do this sample project. You can try it out and let me know.</p>