idreamin opened a new issue #135: Read the video file on android URL: https://github.com/apache/cordova-plugin-media-capture/issues/135 Record video on android phone using the plugin the fullpath is file:///storage/emulated/0/DCIM/Camera/VID_20190523_184820.mp4 How should I use cordova-plugin-file to read it ? Here's my code: I want to get the 'reader.result', thank you very much ! window.resolveLocalFileSystemURL(cordova.file.externalRootDirectory, function (dirEntry) { dirEntry.getFile(_this.filename, { create: true, exclusive: false }, function (fileEntry) { fileEntry.file(function (file) { var reader = new FileReader() reader.onloadend = function () { console.log('Successful file read: ' + reader.result) } }) })
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
