local path not working for mp4

parkarfahim22's Avatar

parkarfahim22

27 Feb, 2013 03:23 PM

Hi,

I am using below path for playing video file however it is not working.

fpkv://Videos/Reported.m4v

Below is directory structure

  • Project (Level 1)
    • PDF (Level 2)
    • Manual.pdf (Level 3)
    • Videos (Level 2)
    • Reported.m4v (Level 3)

Please let me know what to do.

Regards,

Fahim

  1. Support Staff 1 Posted by Matteo on 11 Mar, 2013 02:59 PM

    Matteo's Avatar

    Hello Fahim,
    you need to set the resourceFolder on the MFDocumentManager and the use a link with the proper folder structure like the one you reported.

    Best regards,
    Matteo

  2. 2 Posted by parkarfahim22 on 13 Mar, 2013 03:05 PM

    parkarfahim22's Avatar

    example please... I am not getting...

  3. 3 Posted by parkarfahim22 on 13 Mar, 2013 03:06 PM

    parkarfahim22's Avatar

    I tried documentManager.resourceFolder = @"/Library/PDF"; and brought videos under PDF folder.... still not working

  4. Support Staff 4 Posted by Matteo on 13 Mar, 2013 03:18 PM

    Matteo's Avatar

    If the pdf documents are in the main bundle of the application you need to use

    documentManager.resourceFolder = [[NSBundle mainBundle] resourcePath];

    otherwise if they are downloaded in some place, you need to find the sandboxed folder of your choice.

    Matteo

  5. 5 Posted by parkarfahim22 on 13 Mar, 2013 03:19 PM

    parkarfahim22's Avatar

    thanks a ton... working....

  6. 6 Posted by parkarfahim22 on 13 Mar, 2013 03:25 PM

    parkarfahim22's Avatar

    fpkv://Reported.m4v?autoplay=no is not working... any idea?

  7. 7 Posted by pradnya gaikwad on 17 Dec, 2013 09:24 AM

    pradnya gaikwad's Avatar

    fpkv://intromovie.mp4?autoplay=no is not working and same for loop

  8. 8 Posted by voemlwu on 18 Dec, 2013 04:43 PM

    voemlwu's Avatar

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac