Offline cache - keeping current position of app

Basically you have to store the timecode of your timelines in question and restore them on a reload. To move this variables across page refreshes you can use LocalStorage.

I just today wrote a wrapper for Hype for LocalConnection. It offers some Hype specific perks to LocalStorage and I might write a helper function to store and restore timeline positions but for now it only gives you a basic interface to LocalConnection.

If either option is to complicated maybe somebody else on the forum can help you to write the needed JS (for either option). I certainly will reply to this post if I add timeline positions to Hype StateKit.

1 Like