We are making a trial production of an app for the iPhone in the Monaca cloud.
captureVideo video files
I want to save it in the PERSISTENT area of LocalStorage, but I'm stuck because I don't know how to do it.
If you look at the path of the file obtained by captureVideo on iPhone 5, you will see
/private/var/mobile/containers/Data/Application/...
I don't know how to do getFile because it's in a different area from PERSISTENT and TEMPORARY.
If possible, I would like to do it in a manner that works well on Android.
Thank you in advance.
monaca cordova
I found one way to avoid it.
I was able to convert the path of the file returned in captureVideo into a URI, retrieve the FileEntry using resolveLocalFileSystemURI instead of getFile, and move it to the PERSISTENT area.
However, I don't think this method is the best solution because it doesn't seem to be a roundabout direct attack and it doesn't seem to have the ability to convert paths in LocalStorage into URIs.
547 Who developed the "avformat-59.dll" that comes with FFmpeg?
548 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
537 Uncaught (inpromise) Error on Electron: An object could not be cloned
546 Understanding How to Configure Google API Key
709 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
© 2024 OneMinuteCode. All rights reserved.