Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Embed HTML 5 games don't work on Firefox due to missing server headers in itch.io

A topic by Saoshyant created Jul 29, 2021 Views: 981 Replies: 2
Viewing posts 1 to 3
(+2)

Games exported from Godot use "SharedArrayBuffer", which has specific security requirements per the spec.

Specifically, these two headers need to be sent from the mini-sites hosted at itch.io that have HTML 5 games:

Cross-Origin-Opener-Policy: same-origin

Cross-Origin-Embedder-Policy: require-corp

This is a super simple change that would improve the experience of users trying to play HTML 5 games on itch.io without them having to resort to use bloody Google Chrome to do so.

More information here:

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects...

https://old.reddit.com/r/godot/comments/mvwim9/godot_33_html5_threads_export_typ...

Let me know if this thread is in the right place.  I looked for "bug report" and this subforum was the only that seemed appropriate.

(+1)

It’s great that Godot 4 web games work from the site, but it’s a shame this is still an issue for the itch app 2 years later :(