We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It doesn't want to read a video file in the path format of:
file:/storage/emulated/0/DCIM/Camera/VID_20160407_171709.mp4
_snapVideo: function () { console.warn( 'snapVideo >' ) window.plugins.videocaptureplus.captureVideo( this.capturedVideo, function ( err ) { console.error( 'snapVideo > ERR >', err ) }, { limit: 1, duration: 10, highquality: true, } ) }, capturedVideo: _.debounce( function ( media ) { if ( _.isEmpty( media ) ) { return } console.log( 'capturedVideo > media >', media ) // fullPath: "file:/storage/emulated/0/DCIM/Camera/VID_20160407_171709.mp4" // lastModifiedDate: 1460063833000 // name: "VID_20160407_171709.mp4" // size: 7519513 // type: "video/mp4" window.PKVideoThumbnail.createThumbnail( media[ 0 ].fullPath, cordova.file.dataDirectory + media[ 0 ].name + '_thumb.jpg', { mode: 'file', quality: 50 }, function ( thumb ) { console.log( 'thumb >', thumb ) }.bind( this ), function ( err ) { console.error( err ) } ) }, 250 ),
The text was updated successfully, but these errors were encountered:
Seems like adding an extra / after file: fixed it
file://storage/emulated/0/DCIM/Camera/VID_20160407_171709.mp4
Sorry, something went wrong.
Yep, it's picky about URI schemas. Glad you got it working.
No branches or pull requests
It doesn't want to read a video file in the path format of:
The text was updated successfully, but these errors were encountered: