Font from origin 'http://ssl.p.jwpcdn.com' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://siwi-mediahub-test16.creo.se' is therefore not allowed access.
This causes that the control icons are not shown properly.
It seems that the response at http://ssl.p.jwpcdn.com (with http) is not sending the CORS headers.
However the response at https://ssl.p.jwpcdn.com (with https) is sending the CORS headers correctly, and we do not have any problem.
We need to get the headers also on http response. Are you planning to put the headers also on http responses ?
I have tested with several browsers and computers, so I don't think there is any plugin interfering.
If we reproduce the calls made by the player by using the command line, it is quite clear that there is something missing. As you can see when using http the CORS headers (Access-Control-Allow-Origin: *, ...) are not there:
JWPlayer seems to select the protocol (http/https) internally depending on the protocol of the main page.
I would say it is a lack configuration on the web server when the protocol is http. If so, could you please tell me if is possible to fix it and when? We would be very happy to get this fixed the sooner the better.
Isi, we want to help you but we can’t do that unless we see how you are implementing the player on reproduction page. For example, are you calling the zip of the player on your page?
1) With http (Does not work as it should!): http://d1qka67o21nlgb.cloudfront.net/static/test/player.html
* Your exact reproduction steps -> I just loaded the page * What you are expecting the player to do -> Show the play button correctly * What the player is actually doing -> The play button is not showing correctly. The following errors are shown in the browser's console:
player.html:1 Font from origin 'http://ssl.p.jwpcdn.com' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://d1qka67o21nlgb.cloudfront.net' is therefore not allowed access.
player.html:1 Font from origin 'http://ssl.p.jwpcdn.com' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://d1qka67o21nlgb.cloudfront.net' is therefore not allowed access.
2) With https (Works as it should!): https://d1qka67o21nlgb.cloudfront.net/static/test/player.html
* Your exact reproduction steps -> I just loaded the page * What you are expecting the player to do -> Show the play button correctly * What the player is actually doing -> Show the play button correctly. No errors in the browser's console.
Yes, I had tested on several computers (3 Mac OS X El Capitan with Chrome 52). I tested now on even more computers and I found something really weird. It seems to work on some computers and not on others.
I have researched more about the issue. Please check again the reproduction page that I have updated with more information:
Ok so what browsers is it happening on? Have you disabled all extensions on that browser? Are all your machines on a managed network? We’ve looked at your page on every major browser we support and we are not experiencing this issue.
This question has received the maximum number of answers.