Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.
The DeviceMotionEvent
interface of the Device Orientation Events provides web developers with information about the speed of changes for the device's position and orientation.
Warning: Currently, Firefox and Chrome do not handle the coordinates the same way. Take care about this while using them.