Video not playing

2015-05-24 Thread Jonathan Hull
Hello Cocoa Devs, I am a bit stumped by this, but hopefully it is an easy answer to someone who has worked with videos more. The effect I am trying to achieve is having an image of a video showing among other elements, and when the user taps the video it zooms to fullscreen and plays. Here is

Re: AVFoundation video not playing in root mode

2014-05-27 Thread Kyle Sluder
On May 27, 2014, at 6:08 AM, Navneet Kumar wrote: > > Hi, > > The code I’m using is as follows: (it works well and videos plays when logged > in as admin user, but doesn’t play when the app is run as root): Please stop trying to run your application as root. If Apple wanted to support this co

AVFoundation video not playing in root mode

2014-05-27 Thread Navneet Kumar
Hi, The code I’m using is as follows: (it works well and videos plays when logged in as admin user, but doesn’t play when the app is run as root): In awakeFromNib: [[avPlayerView layer] setBackgroundColor:CGColorGetConstantColor(kCGColorClear)]; // Create the AVPlayer, add rate