Hi on my dev site
I have a video playing: https://www.youtube.com/watch?v=8kdkgYHN8rY
It was working for a few weeks but now in chrome I receive:
“Unable to post message to http://www.youtube.com. Recipient has origin https://www.youtube.com”
I looked this up and it seems because I’m logged into youtube, the file goes to HTTPS, and cross domain security kicks in and blocks the request.
Hi agbishara!
Please try to modify enfold/js/shortcodes.js a bit – open up the file and replace:
youtube : {loaded: false, src: 'http://www.youtube.com/iframe_api' }
with
youtube : {loaded: false, src: 'https://www.youtube.com/iframe_api' }
Does this code mod fix the issue?
Regards,
Peter
Hi,
I wasn’t able to get the fix to work, but then I realized it was related to cloudflare.
I think I’m all set now thanks