Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Pascal Birchler

    (@swissspidy)

    Thanks for your report.

    This is something that needs to be resolved on the Yoast SEO side because their metabox is outside of our control

    To provide a little bit of context:

    The Web Stories editor runs in a strict and more secure mode called cross-origin isolation. This is usually the case when video optimization is enabled in the Web Stories settings (which we recommend!)

    With cross-origin isolation, it is mandatory for images/styles/etc. from external sources to have appropriate CORS headers and also the crossorigin="anonymous" attribute.

    In your case it looks like your images have the correct CORS headers, but Yoast is not adding this attribute.

    You can learn more about cross-origin isolation at https://web.dev/cross-origin-isolation-guide/

    Thread Starter Rodrigo Lima

    (@rodrigoflausino)

    Thanks for rapid response! I set the CORS headers in last days for images.

    Plugin Author Pascal Birchler

    (@swissspidy)

    That’s a great first step.

    Now it would be on Yoast to add crossorigin="anonymous" to all images they load in the meta box. Either by default or only when cross-origin isolation is in place.

    In the meantime, you can work around this by disabling video optimization on the settings page.

    Thread Starter Rodrigo Lima

    (@rodrigoflausino)

    I deactivate the option and after this the images ints showing normally.

    About the video optimization: it’s only for reduces the size, or its work in play videos from readers? I begin to upload the TikTok and Instagram reels, and one of next updates (in public roadmap) its mentioned to cropping the videos (“Remove off-screen parts of a video/image”)

    The Offload plugin sends video from S3 and i mark the option to don’t mantain the image in original server (because i have only few GB disk free to use)

    Plugin Author Pascal Birchler

    (@swissspidy)

    The video optimization setting unlocks features like video compression, video muting, video trimming, webcam recording. And yes, in the future also for cropping off-screen parts of videos/images. That’s why we recommend keeping it enabled (and might even not allow you to disable it anymore).

    Thread Starter Rodrigo Lima

    (@rodrigoflausino)

    Hi! You know how i can find the yoast tab in WordPress plugin editor. The Yoast get a update today, and the problem still persist. And the devs mark other topic as resolved =(

    I can try to open new topic in Yoast forum, and i begin to search this in editor to add the crossorigin for myself =(

    Plugin Author Pascal Birchler

    (@swissspidy)

    You know how i can find the yoast tab in WordPress plugin editor.

    You can toggle the Yoast SEO meta box using this button in the lower corner:

    And the devs mark other topic as resolved

    That’s unfortunate, since it’s really something that Yoast need to resolve on their end.

    Thread Starter Rodrigo Lima

    (@rodrigoflausino)

    Thanks! I found the box here here, and i tried to know how to add an filter with the crossorigin tag, but until now i cant found any references in forums and other websites.

    I will create another topic on Yoast forums to get more support.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Yoast integration with cross origin/CDN issue’ is closed to new replies.