Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

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)

1 Community Answers

George

JW Player Support Agent  
0 rated :

For me to reproduce this issue reliably I will need the following information:

Browser name and version:
Operating System name and version:
Device make and model:
Provide step by step instructions on how to reproduce the issue on your page:
A test page replicating the issue as described in the document below:
https://support.jwplayer.com/customer/portal/articles/2186238-troubleshooting-%E2%80%94-creating-a-test-page

The test page must not contain any additional code or CSS, it must only contain the player and concrete steps to reproduce with expected and actual behavior.

From what I understood you have insecure content on a page and that’s causing issues on your secure page. A valid test page would help me find the insecure content and provide next steps.

This question has received the maximum number of answers.