Skip to content

Conversation

@abeddow91
Copy link
Contributor

@abeddow91 abeddow91 commented Nov 5, 2025

What does this change?

We need to enable CORS on looping videos so that we can work a side-car VTT file. This PR introduces the crossOrigin: anonymous header behind a 0% opt in flag so that we can test how this interacts with the fastly cache. It has only been drilled through container and container card sizes that support looping video.

Why?

We released this change into the wild and found some users were receiving CORS errors. We would like to debug and fix this before we re-release this change.

Screenshots

Flag set to false - no origin request header Flag set to true - origin request header present
before after

@github-actions
Copy link

github-actions bot commented Nov 5, 2025

Hello 👋! When you're ready to run Chromatic, please apply the run_chromatic label to this PR.

You will need to reapply the label each time you want to run Chromatic.

Click here to see the Chromatic project.

@abeddow91 abeddow91 force-pushed the ab/cors-loop-ab-test branch from a7af839 to fb2d933 Compare November 5, 2025 13:24
@abeddow91 abeddow91 added the run_chromatic Runs chromatic when label is applied label Nov 5, 2025
@github-actions github-actions bot removed the run_chromatic Runs chromatic when label is applied label Nov 5, 2025
@abeddow91 abeddow91 merged commit 9d9cb06 into main Nov 5, 2025
31 checks passed
@abeddow91 abeddow91 deleted the ab/cors-loop-ab-test branch November 5, 2025 14:30
@gu-prout
Copy link

gu-prout bot commented Nov 5, 2025

Seen on PROD (merged by @abeddow91 7 minutes and 52 seconds ago) Please check your changes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants