Closed AT3META closed 1 year ago
Any errors in the browser console?
Uncaught ReferenceError: SharedArrayBuffer is not defined at zelda.js:1:12920
You need to set two response headers for your page:
Cross-Origin-Opener-Policy: same-origin
Cross-Origin-Embedder-Policy: require-corp
I was surprised to find this would be necessary for the page embedding the iframe, but apparently it is. my website serves these headers because they are necessary to enable certain higher-risk JS apis.
Here is my code for the page. Can you suggest where to put this recommendation? Many thanks!
Sorry, I can't. You need to configure your webserver to add the correct headers.
Good luck!
FYI, new web feature is landing in Chrome soon to avoid this COEP problem when embedding third-party iframes that you don't need special access to.
https://bugs.chromium.org/p/chromium/issues/detail?id=1226469 https://github.com/camillelamy/explainers/blob/main/anonymous_iframes.md
<iframe src=example.com credentials=omit>
I think currently it is behind a chrome flag AnonymousIframe
.
Hello, I've tried to port the Zelda game through my website. It hangs and doesn't initialize. Any thoughts? It is an attempt to embed the Zelda Port to an installation of OSSN 5.6. Many thanks!