wagerfield / parallax

Parallax Engine that reacts to the orientation of a smart device

Home Page:http://wagerfield.github.io/parallax/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

It Does Not Reacts to the Orientation of my Android Phone

NgYueHong opened this issue · comments

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.

commented

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

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

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.

added to readme