Someone please check the operation of the accelerometer after exporting to android.
This is a link to the original example "Infinite jumping"
granted is OK, but accel is still not working
That example uses the gyroscope sensor (or tilt sensor) not the accelerometer. So my guess your device hasn't a gyroscope sensor.
I have 2 devices on android and everything worked on both devices when I checked a month ago. I do not know what happened and why not a single parameter gyro and accel works now. Does it work for you?
Develop games in your browser. Powerful, performant & highly capable.
I don't have devices with gyroscope sensor only with accelerator. I have the same problem with the accelerator with Chrome and Chrome based browsers like Brave. With FireFox it works. Have you tested with FireFox?
The URL you gave uses an insecure server. Many features are unavailable on insecure servers, including IIRC device motion. (There have been security vulnerabilities reported where the device motion can be used to guess what the user is typing on an on-screen keyboard, so it is regarded as a security-sensitive feature.)
These days you should host everything on a secure server (HTTPS) from the start. You can't really get away with insecure servers any more.
Thank you, it solves my problem!