Reputation: 1127
I have uploaded a .mov file to my server and it fails to playback in my app, this code works fine with another url I tested:
override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?)
{
let destination = segue.destinationViewController as
AVPlayerViewController
let url = NSURL(string:
"http://shahnewazkhan.ca/iOS/henrik_penalty_shot.mov")
destination.player = AVPlayer(URL: url)
}
Upvotes: 1
Views: 443
Reputation: 3628
The uploaded file exceeds the hosting plan limit. See from your console:
curl http://shahnewazkhan.ca/iOS/henrik_penalty_shot.mov
The uploaded file exceeds the hosting plan limit. Please, consider upgrading to a more powerful hosting package.
Upvotes: 2