We’ve identified a mixed content issue on our WeWeb site related to the YouTube iframe API plugin, which is loading resources over http instead of https . This is causing mixed content warnings in browsers and potentially affecting our site’s SEO and security. Since the plugin’s code appears to be hardcoded to use http , we’re unable to manually switch to https .
Is there a way to update the plugin to ensure it loads resources over https by default, or is there an alternative solution to prevent these mixed content warnings?
Any assistance to address this issue and enhance our site’s security and SEO performance would be greatly appreciated.
Hello @RianTavaresDev!
We use a library to manage YouTube. So we don’t really control how the iframe is loaded.
However, I went to look at the library code to see if there was a way to fix it and I came across this code:
Hi, @Joyce
Thank you for your support.
The mixed content is related to the script of youtube iframe api insertion on the page as you can see on the screenshot I sent on the issue description.
Hi @Kevin,
Thank you for your support.
I’m proficient in JS, but thank you for your explanation .
This is weird then, because my page is running with https protocol