breautek commented on issue #312:
URL: 
https://github.com/apache/cordova-plugin-media-capture/issues/312#issuecomment-3079251020

   Assuming that you're application id is `io.haiyi.app.ham.starter`, then that 
nativeURL path should be readable by your app with on permissions necessary. 
Apache doesn't maintain the file opener plugin that you've mentioned so I can't 
really provide support or advice on that side.
   
   Can the video be read with apache's file plugin (`cordova-plugin-file`) and 
potentially played using the HTML5 video tag?
   
   ```javascript
   window.resolveLocalFileSystemURL(theNativeURL, function (fileEntry) {
       let video = document.getElementById('myVideo'); // id to a <video> 
element
       video.src = fileEntry.toURL();
   });
   ```
   
   The file plugin APIs recently had several fixes surrounding the `.toURL()` 
usage, so it would be important to be running v8.1.3, which is the current 
latest version.
   
   If the file opener plugin relies on an intent to play your video (e.g. 
opening in an actual video player app), then permission issues might be at play 
here, because then you're application will need to implement and provide a 
content provider to share the content to a third-party app. In which case I'd 
consider this to be a bug with the file opener as it should be implementing the 
content provider.


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to