Video not playing in app

Discussion in 'iOS Programming' started by AlanR917, Aug 17, 2012.

  1. AlanR917
    Expand Collapse
    macrumors newbie

    Joined:
    May 27, 2011
    #1
    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:

    [​IMG]

    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?
     
  2. dejo
    Expand Collapse
    Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #2
    Does your ViewController adopt the AVAudioPlayerDelegate protocol?
     
  3. jnoxx
    Expand Collapse
    macrumors 65816

    jnoxx

    Joined:
    Dec 29, 2010
    Location:
    Aartselaar // Antwerp // Belgium
    #3
    Also, Linker flags, did you actually add the corresponding frameworks to your project? :)
     

Share This Page