lbry-desktop/ui/component/viewers/videoViewer
infinite-persistence 7ea73c3f1b
Recsys: improve data stashing frequency
## 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.
2022-06-24 16:54:55 +08:00
..
internal Recsys: improve data stashing frequency 2022-06-24 16:54:55 +08:00
index.js Move channelTitle to view 2022-05-30 07:27:41 +02:00
view.jsx Recsys: improve data stashing frequency 2022-06-24 16:54:55 +08:00