lbry-desktop/ui/component/viewers/videoViewer/internal/plugins
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
..
videojs-hls-quality-selector dont show quality selector with default quality on non transcoded (#1670) 2022-06-10 14:48:48 -04:00
videojs-http-streaming--override Player icons patch (#1636) 2022-06-05 13:32:21 +02:00
videojs-i18n Fix remaining untranslated ctrls 2022-05-17 16:33:11 +08:00
videojs-mobile-ui Reuse videojs instance between video reload, return mobile UI plugin for iOS (#1512) 2022-06-10 12:18:58 -04:00
videojs-overlay Fix warnings 2022-03-23 17:09:17 -04:00
videojs-recsys Recsys: improve data stashing frequency 2022-06-24 16:54:55 +08:00