Cordova iOS: JW Player CDN Fails to Load Due to app:// Scheme #514
Unanswered
saraganesh
asked this question in
Q&A
Replies: 1 comment
-
I believe the issue your seeing is this: jwplayer/jwplayer#3561 It sounds like you might need to configure the You can not use HTTP or HTTPS scheme in iOS. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Everyone !!
Environemnt Details:
cordova-ios: 7.1.1
Issue:
The app attempts to load the following JavaScript file:
However, it fails with a 404 Not Found error, preventing the JW Player from functioning correctly.
Observations:
On Android, the same URL loads correctly with the https:// protocol (e.g., https://ssl.p.jwpcdn.com/player/v/8.36.3/jwplayer.core.controls.html5.js), and the video plays without issues.
On iOS, the protocol defaults to app://, and the resource cannot be accessed.
What I’ve Tried:
Changing the Scheme in config.xml:
Unfortunately, it still defaults to app:// on iOS.
Using cordova-plugin-ionic-webview:
This changes the protocol to ionic://, but the issue persists, as the URL is still inaccessible.
Verified the URL:
The JW Player CDN (https://ssl.p.jwpcdn.com) works correctly in browsers and on Android, so the issue seems specific to the iOS WebView configuration.
Questions:
Any guidance on how to properly configure the WebView to load external resources using the https:// protocol would be greatly appreciated.
Thank you in advance!!
Beta Was this translation helpful? Give feedback.
All reactions