wagerfield / parallax

Parallax Engine that reacts to the orientation of a smart device
http://wagerfield.github.io/parallax/
Other
16.47k stars 2.14k forks source link

It Does Not Reacts to the Orientation of my Android Phone #282

Closed NgYueHong closed 6 months ago

NgYueHong commented 4 years ago

Hi,

I tried visiting to http://matthew.wagerfield.com/parallax/ using my Android 7.1 phone on up to date Google Chrome browser, but the scene does not react to the orientation of my phone at all.

maciejcieslik commented 4 years ago

Same here - script do not work on mobile device (at least on android)

xjure commented 4 years ago

It doesn't work on iOS either. Neither on Chrome or Safari.

DavidBruchmann commented 4 years ago

Device orientation has to be enabled by the user.
https://help.momento360.com/article/34-vr-icon-isnt-showing-in-mobile-safari-ios

wil93 commented 4 years ago

This demo page works: https://mdn.mozillademos.org/en-US/docs/Web/API/Detecting_device_orientation$samples/Orientation_example

The page mentioned in the first comment here, does not.

(I'm using the same Chrome browser for both URLs)

UPDATE: it works, actually. The problem is that the link posted in the first comment is on HTTP but it must be on HTTPS in order to work.

reneroth commented 6 months ago

added to readme