CORS headers problem with clip embed in iframe

I need to use these headers for a wasm sharedarraybuffer to work:
/builder
Cross-Origin-Embedder-Policy : require-corp
Cross-Origin-Opener-Policy : same-origin
Cross-Origin-Resource-Policy : same-site
/assets/*
Cross-Origin-Embedder-Policy : require-corp
Cross-Origin-Opener-Policy : same-origin

When these are set, twitch clip embedded inside an iframe refuse to display.

This is a single page application so I cannot send different headers for different pages of the website. Or reload the page on each navigation.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.