7ea73c3f1b
## Issue The 15s saving interval (hijacking the position-saving code) is too far apart, causing rescys data to be lost when tab is closed/refreshed. ## Change While I think it is fine to save to redux every second, it is still best to avoid that since a state change will always cause the map-to-props to evaluate. Chose 5s as the interval and moved away from the position-saving code (the recsys videojs plugin is a better choice to handle this). Also save it on `t=1` so that at least we know it played prior to the tab refreshing/closing. ## Considered - Didn't want to do `beforeunload` again since it is unreliable and a pain to test in mobile. |
||
---|---|---|
.. | ||
internal | ||
index.js | ||
view.jsx |