Hmmm not sure if this has been covered before (I did try the search).
I’m wondering if I can control the timeline position based on device tilt?
Thanks,
James
Hmmm not sure if this has been covered before (I did try the search).
I’m wondering if I can control the timeline position based on device tilt?
Thanks,
James
There’s no built-in way to do this, but it could be done with some JavaScript. The first piece is getting the tilt information. This is done by adding a deviceorientation
listener:
https://www.html5rocks.com/en/tutorials/device/orientation/
After this, you can control a timeline via the hypeDocument.goToTimeInTimelineNamed(0, 'timelineName')
API.