Hi,
I'm in the process of building a small webapp-game, mostly in an effort to test out an input library I've built. I finally got around to adding phone inputs and encountered a problem. The same incredibly simple event handler for 'deviceorientation' works in a localhost of my project and not in the itch iframe.
I've given this issue the old google, but it brings up mostly irrelevant results. One thing I found suggests that for Chrome 66+ there need to be iframe permissions for 'gyroscope' and 'accelerometer,' within the 'allow' attribute, to skip around the CORS restrictions. (https://github.com/immersive-web/cardboard-vr-display#iframes for a description of the problem in another context) These appear not to be allowed in a 'view source' of the game-page hosted on your site.
I can easily believe I'm wrong about this. Just throwing spaghetti here :). I in no way expect you guys to do any work on my behalf, but if you could confirm this is my problem, I'd appreciate it.
Thanks for your consideration,
K.