title: iPhone simulator plays video, real device won't
body: <p>I am building an app in Swift on Xcode 7.2</p>
  
  <p>I added a video to my ViewController. Here's the code:</p>
  
  <pre><code>import UIKit
  import AVKit
  import AVFoundation
  
  class GymViewController: UIViewController {
  
  
  
  
  
  var playerViewController = AVPlayerViewController()
  var playerView = AVPlayer()
  
  let fileFemaleURL = NSURL(fileURLWithPath:"/Users/marienkoen/Documents/AppDevelopment/ROZsport/ROZsport/GymFemale-2434.m4v")
  
  
  override func viewDidLoad() {
  super.viewDidLoad()
  }
  
  
  
  @IBAction func playButtonPressed(sender: AnyObject) {
  
  
  playerView = AVPlayer(URL: fileFemaleURL)
  
  playerViewController.player = playerView
  
  self.presentViewController(playerViewController, animated: true){
  self.playerViewController.player?.play()
  }
  </code></pre>
  
  <p>I can play this video when running the app in the simulator, but it will not work on a real device. What am I missing here?</p>