I tried to play a video by url in an AVPlayerViewController. The AVPlayerViewController is set in my storyboard and the segue connection is working properly, but the play button is crossed out and the video will not be played. So what can i do? I already tested creating the AVPlayerViewController programmatically and added "Allow Arbitrary Loads". Still not working.
performSegueWithIdentifier("videoImpression", sender: self)
override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
if (segue.identifier == "videoImpression") {
let destination = segue.destinationViewController as! AVPlayerViewController
let url = NSURL(string: "http://download.wavetlan.com/SVV/Media/HTTP/H264/Other_Media/H264_test8_voiceclip_mov_480x320.mov")
destination.player = AVPlayer(URL: url!)
}
}