akella / fake3d

515 stars 106 forks source link

using 3d webgl on mobile device #12

Open kbanwait123 opened 4 years ago

kbanwait123 commented 4 years ago

I can't figure out why your application for 3d webgl works when using https://tympanus.net/Tutorials/Fake3DEffect/ but when I try to use it on a test website/localhost ... using my mobile device it won't work. An example I used the 3d webgl to move a image shown here https://www.torontosprimecondos.com/index.html ,works fine in a browser but not at all on mobile device while your website works fine.

Dimilian commented 4 years ago

Hello, i figure out why effect didnt't work in the mobile browsers. The reason is insecure usage of DeviceMotionEvent in gyronorm.js. Just start webserver with valid ssl (https) and it will be work fine

kbanwait123 commented 4 years ago

Thanks I will try 😁

On Wed, Jun 10, 2020, 10:40 AM Dimilian notifications@github.com wrote:

Hello, i figure out why effect didnt't work in the mobile browsers. The reason is insecure usage of DeviceMotionEvent. Just start webserver with valid ssl (https) and it will be work fine

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/akella/fake3d/issues/12#issuecomment-642054511, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOXD37LX72MAGYDKAF6T6HLRV6LO3ANCNFSM4LAOK5LQ .

CalebAmesbury commented 4 years ago

Thanks!