Skip to main content

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

Add support for WebXR

A topic by my2iu created May 11, 2020 Views: 347
Viewing posts 1 to 1
(+3)

I was trying to make a little WebXR html5 game here: https://my2iu.itch.io/skip-rope-vr

But the VR functionality doesn't work on itch. I think WebXR games need itch to add an extra tag to the iframe of the game to allow it to enable VR functionality, possibly this one:

<iframe allow="xr-spatial-tracking"></iframe>

or it might be a feature policy that has to be added when serving the main page, not too sure.

This topic has been auto-archived and can no longer be posted in because there haven't been any posts in a while.