• Resolved jimh275

    (@jimh275)


    Hello! After updating to WordPress 5.5 a youtube video stopped playing on my site. Debugging leads me to believe its an issue with your theme as the video works fine if I change themes. The error is:

    Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://googleads.g.doubleclick.net/pagead/id. (Reason: CORS request did not succeed).

    Any help in getting this fixed would be much appreciated, thank you.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter jimh275

    (@jimh275)

    Hello, been doing some further investigating and this issue is in the WP bug trac, apparently it’s effected several themes and hopefully WordPress will get it fixed in the future. Note: If anyone else has this issue, a cludge fix is to embed the video with the html block which does work.

    I’ve done this and instead of an error, I now get a warning:
    —————
    “Because a cookie’s SameSite attribute was not set or is invalid, it defaults to SameSite=Lax, which will prevent the cookie from being sent in a cross-site request in a future version of the browser. This behavior protects user data from accidentally leaking to third parties and cross-site request forgery.”
    —————
    But, the video shows up and plays, which is the important thing.

    Theme Author Anthony Hortin

    (@ahortin)

    Hi Jim,

    Thanks for letting me know and for your extra investigation. Do you happen to have a link to the Trac ticket that you found? I’d be interested to see what the issue is.

    I’m going to mark this one as resolved since it’s not actually a theme issue, but a WP/Gutenberg issue.

    Thanks.

    Thread Starter jimh275

    (@jimh275)

    Anthony, I do not offhand, I’ll see if I can find it again later today.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remot’ is closed to new replies.