Recently in one of my project we have a requirement to select video from Gallery and import it to Cordova application.
For that I used following code.
console.log('Error in Video Processing);
As you can see in above code we are selecting media type to video. Following is our callback function.
Now the problem was it was always returns null URI for any video I select. So I decided to dig into plugin code and found issue in CameraLauncher.java. Following is the function.