Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #261436

    Hi on my dev site

    http://goo.gl/mKb4gm

    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.

    #261463

    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

    #261748

    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

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Youtube video background issue when logged into youtube, cross domain security’ is closed to new replies.