troubleshooting Question

How to play .mp4 files from sd card on android using phonegap

Avatar of SwiftCoder
SwiftCoder asked on
AndroidResponsive WebHTML
3 Comments1 Solution3588 ViewsLast Modified:

I am using PhoneGap for android and IOS app for android application,

my videos are in the SD card and im trying to play video in the page itself using <video> tag

my video tag code

<video width="520px" controls>
        <source  type="video/mp4" src="file:///sdcard/videos/file.mp4">

Open in new window

but its showing blank video icon on the page

And also i tried a video plugin
 and i'm using the above video plugin in phonegap


i had followed all the instructions for the plugin

i gave my video playing path as

But when i'm tryin to play video it throws an error
sorry this video cannot be played

Can u guys please mention how to fix this problem

Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros