How to play/open video file embedded with a PDF?

Discussion in 'iOS Programming' started by sajaz, Nov 16, 2011.

  1. sajaz macrumors newbie

    Joined:
    Jul 7, 2011
    #1
    I have created a PDF viewer on iphone. Currently my app is able to detect links to web pages and buttons for navigation within PDF. But it unable to play Audio/Video contents embedded with PDF.

    I creates custom PDf which has button(link to a local video file) to play video file. But iphone can't play the video. (when I tap on button, it says "NULL file ....")

    I want to know is it possible to do? and if anyone have done it please give me a help. It will be a huge help for me.

    Thanks in advanced ....
     
  2. jnoxx macrumors 65816

    jnoxx

    Joined:
    Dec 29, 2010
    Location:
    Aartselaar // Antwerp // Belgium
  3. sajaz thread starter macrumors newbie

    Joined:
    Jul 7, 2011
    #3
    But, when I open the PDF in Preview or Adobe Acrobat reader, video is playing.

    Video is in .mp4 format and it is in the Resources bundle of the xcode project.

    I want to know, is it possible to open a video file embedded in PDF on iphone???
     
  4. jnoxx macrumors 65816

    jnoxx

    Joined:
    Dec 29, 2010
    Location:
    Aartselaar // Antwerp // Belgium
    #4
    If it's just a reference, you can just call the existing Framework to open that source, so I don't really see the issue with the "embedded".
    When you click it, you send out a trigger that will open the movie framework and send your file with it? ;/
     

Share This Page