Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with playing local video files #5

Open
lwaghmode opened this issue Nov 21, 2014 · 1 comment
Open

Problem with playing local video files #5

lwaghmode opened this issue Nov 21, 2014 · 1 comment

Comments

@lwaghmode
Copy link

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.

@pr1001
Copy link
Member

pr1001 commented Dec 1, 2014

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants