moust / cordova-plugin-videoplayer

A Codova plugin to play video with the native MediaPlayer on Android devices.
MIT License
139 stars 102 forks source link

Video player does not show up nor play video #39

Closed asadwaheed1 closed 7 years ago

asadwaheed1 commented 7 years ago

I am using ionic framework. I used this plugin and tried playing a local video with path file:///storage/2179-1C04/DCIM/Camera/20170816_143027.mp4 but its not playing it gives exception "Unhandled Promise rejection:", source: file:///android_asset/www/build/polyfills.js "Error: Uncaught (in promise): Prepare failed.: status=0x1", source: file:///android_asset/www/build/polyfills.js What's the problem? I want to be able to play video on both iOS and android. how can i achieve it?

asadwaheed1 commented 7 years ago

I found out that it was not opening video because it didn't had access to external storage. I think its not the fault of this library so closing this issue.

Ross-Rawlins commented 6 years ago

How did you resolve this?