PDA

View Full Version : Video not playing in app




AlanR917
Aug 17, 2012, 10:45 AM
Hello Everyone, When I follow this tutorial: http://www.youtube.com/watch?v=cYXAHRvHbQE
It gives me an error on the [playercontroller release]; line, so I remove it, and then it gives me these errors when I try to run it:

http://aftermathgame.webs.com/Screen+Shot+2012-07-09+at+2.13.05+PM.png

I tried making another app to test the video, and it works seamlessly, but it will not work in my main app. Can anyone help?



dejo
Aug 17, 2012, 11:44 AM
Does your ViewController adopt the AVAudioPlayerDelegate protocol?

jnoxx
Aug 17, 2012, 01:08 PM
Also, Linker flags, did you actually add the corresponding frameworks to your project? :)