Secure links for youtube video

Latest Reply from Alice at 2016-11-11 06:01:20
Hello,

When trying to use https domain with WpCartoons, I have this issue :

'loaded over HTTPS, but requested an insecure plugin resource 'http://www.youtube.com/v/xxxxxxxx?version=3'

How can I add https://www.youtube.com since my page doesn't display Youtube video with only htttp://

Thanks

Oliver
Hi!

To solve this issue you need to edit the wpcartoons/inc/widgets/video.php file:
Find the code:
<a href="http://www.youtube.com/watch?v='.$video['videoid'].'"

and replace 'http' with 'https'. As I can see this is the only place where the insecure protocol could be used.

Leave a reply

Add codeAdd image