title: After upload on my ftp, deviceorientation not working
body: <p>I checked in my computer by opening just html and deviceorientation worked. On Chrome emulator, IT WORKED. But after upload on my ftp, it suddenly doesn't move. </p>
  
  <pre><code>if (window.DeviceOrientationEvent) {
      window.addEventListener("deviceorientation", function(event) {
        var alpha = event.alpha;
        var gamma = event.gamma;
        var beta = event.beta;
        console.log("working!!")
        handleOrientationEvent(alpha, gamma, beta);
      }, true);
    }
  
    var handleOrientationEvent = function( alpha, gamma, beta) {
      $("#message").css({
        'transform': 'rotateX(' + Math.floor(alpha) + 'deg) rotateY(' + Math.floor(gamma) + 'deg) rotateZ(' + Math.floor(beta) + 'deg)'
      });
      console.log("working!");
    }
  </code></pre>