Check Mobile Orientation
Submitted by Leonard Daly on Fri, 04/03/2015 - 08:57Not all mobile devices and browsers correctly report the device orientation. According the the World Wide Web Consortium (W3C) Working Draft 1 from December 2011 "DeviceOrientation Event Specification" the orientation is given by three angles representing compass direction (α), tilt (β), and rotation (γ). The 0 values for these is with the device flat, screen up, pointed North.