You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/10/29 12:21:53 UTC

[GitHub] [cordova-plugin-file] breautek edited a comment on issue #346: File Path Issue in iOS 13.1

breautek edited a comment on issue #346: File Path Issue in iOS 13.1
URL: https://github.com/apache/cordova-plugin-file/issues/346#issuecomment-547393369
 
 
   > @kkabell it seems like it's working and `resolveLocalFileSystemURL` returns a url. However, when I try to load that url using the `<video>` tag I get and error:
   > 
   > `[Error] Not allowed to load local resource: file:////var/mobile/Containers/Data/PluginKitPlugin/xxxxxxx/tmp/trim.zzzzzz.MOV`
   > 
   > Any ideas?
   
   Sounds like you're CSP is not setup properly. I've provided some references below.
   
   https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-whitelist/#content-security-policy
   https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/media-src
   
   You need to allow the `file:` protocol, by having `file:` in the appropriate directive.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org