Skip to content

Problem with playing local video files  #5

Description

@lwaghmode

Hi,
I have given followinf path to CDVVideo method, in WWW there is folder named "video" contain pepsi.mp4 file.
CDVVideo.play('video/pepsi.mp4','YES');
Please let me correct for giving local path, as this is not working app is crashing.
While debugging In native play method @ below line crashing app.
NSURL *fileURL = [NSURL fileURLWithPath:soundFilePath];
Please help me to get out of this, also it is not working in iPhone5 iOS8.

Activity

  1. pr1001 commented on Dec 1, 2014

    @pr1001
    Member

    I haven't looked at the code in a long time, but I believe you need to give a complete file path, e.g. file://<your app>/www/video/pepsi.mp4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions