Marco
October 15, 2019, 2:18pm
#1
Hi, I tried this example on the threejs.org website and it works beautifully on both Chrome and Firefox on Android:
https://threejs.org/examples/misc_controls_deviceorientation.html
However, once I install three.js on other servers (local or online), the above code only works in Android Firefox, and not Android Chrome (the image does not pan).
Is there something I should set in the server to correct this?
Many thanks for your help
Mugen87
October 15, 2019, 2:30pm
#2
Are you serving your content via HTTPS
?
1 Like
Marco
October 16, 2019, 9:25pm
#3
Hi Mugen87, thanks for the reply.
No it’s just a freshly installed Apache server with basic settings. I have not enabled SSL or anything else
Mugen87
October 17, 2019, 9:02am
#4
This could be the problem. Try it with HTTPS and see if it solves the issue.
Marco
October 18, 2019, 2:18pm
#5
Thanks Mugen87, it worked!
Kind regards,
Marco