
Failed to load adv tag with SSL
Hello, I am looking for help about advertisement. I have built a website and suppose to launch with SSL. Jwplayer is normally working without https but failed to run the same page with https. I checked browser debug log and found this message below:
Mixed Content: The page at 'https://www.mywebsite.com/htm/test.htm' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://rtr.innovid.com/[..........]'. This request has been blocked; the content must be served over HTTPS.
Even I clicked "load unsafe scripts", that shows another error message below:
Mixed Content: The page at 'https://www.mywebsite.com/htm/test.htm' was loaded over HTTPS, but requested an insecure script 'http://static.innovid.com/[..................]'. This request has been blocked; the content must be served over HTTPS.
When I click the error message in browser console, the http URL should be generated by JWplayer:
(function(event){
var js = document.createElement('script');
js.src = 'http://static.innovid.com/[.............]';
js.addEventListener('load', function() { window.myCallback(); });
document.body.appendChild(js);
})
I guess that these message are trying to remind me fixing protocol of connecting innovid.com. So I have tried some of possible solutions such as adding "Access-Control-Allow-Origin" and confirmed not specified protocol in script src (<script src="//..../jwplayer.js"> ) but that does not seem to work in my case. I also confirmed the ad tag is running successfully in https://developer.jwplayer.com/tools/ad-tester/ then I am confused what is going wrong.
I will be grateful if some one can give me any suggestions. Thank you.
Environment:
Jwplayer version: 7.12
Browser: Chrome 60
Ad server: videoplaza.tv
Protocol: SSL (https)