Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49184

Protocol-relative path in 3rd party libraries

$
0
0

@amatigianc wrote:

Hi group,

sorry if this question might have been asked already. I am developing an app with a video player. So, the embed code of the video player requires including a third party .js library. In that library there is a reference to an API call which uses an protocol-relative paths.

When I launch the app for iOS, I have the 'file:// ..." error messages. I'm on ionic 2.0.0 version and Cordova 6.3.1.

I can download a local copy of the 3rd party library but that would prevent for automatic updates of the player's version.
Looking at different posts, it seems that Angular doesn't allow protocol-relative URLs.

Am I at the dead-end of keeping a local copy of this 3rd party library or is there a kind of configuration that I can use in my config.xml that I can use? Or anything else?

Many Thanks,
Gian

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49184

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>