LogicalKarma
174ca1a072
fix(player): resume from saved position and protect it across keep-alive
...
Clicking a video from history (or any cached watch page) restarted it from 0
instead of resuming, and history bars showed stale positions. Four shared-path
bugs, all engine-agnostic:
- The resume position was computed but never applied: Shaka's load(uri, startTime)
doesn't perform the initial seek for lazily-fetched segment indexes, so playback
began at 0. Apply the resume explicitly with a runtime seek once load() resolves.
- initialSeekComplete (gates progress saving until the resume seek lands) was never
reset per-load. On a reactivated player it stayed true from the previous play, so
a timeupdate at currentTime=0 during rebuild churn overwrote the saved position
before the resume read ran. Reset it at the start of loadVideo.
- Leaving a watch page (destroy) empties the media element -> currentTime snaps to
0 and a stray timeupdate fires while initialSeekComplete is still true, clobbering
the saved position. Gate the save on destroying as well.
- HistoryPage: re-read watch_history in onActivated so progress bars reflect the
current saved position instead of a stale first-mount snapshot. Kept off onMounted
to avoid double-loading (both fire on first keep-alive mount).
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-06-01 01:03:21 +03:00
Kavin
75201a8083
Implement more reka ui and attempt to fix review issues.
2026-03-27 13:36:04 +05:30
Kavin
d1ef96e7d4
Migrate to tailwind + reka ui
2026-03-27 11:47:27 +05:30
Kavin
fa5bbbd267
Migrate code to composition api.
2026-03-27 00:41:48 +05:30
Bnyro
9352e96d9c
feat: add i18n to history import and export
2025-01-09 14:28:59 +01:00
Alin
9dbe6c557b
feat: option to export watch history database
2025-01-09 14:28:59 +01:00
vr10t
4daa9cfc34
feat: add pagination to history page
...
Co-authored-by: Bnyro <bnyro@tutanota.com >
2025-01-09 13:42:43 +01:00
Kavin
a153f87e58
Add unocss eslint config and apply changes.
2023-08-13 18:31:57 +01:00
Kavin
301877e2e1
Fix eslint config and apply all fixes.
2023-07-27 12:46:05 +01:00
Bnyro
ba3a87cb5c
add support for auto deleting the history ( #1778 )
2023-07-17 08:40:19 +00:00
Robert Kleinschuster
9b5f9e1440
Filter layout small ( #2458 )
...
* improve feed layout on small screens
* improve feed layout on small screens
2023-05-26 16:30:44 +01:00
vr10t
949527ed43
update watched videos in each separate component
2023-02-19 13:41:13 +00:00
Bnyro
8a801ab404
Support for exporting the watch history as playlist
2023-01-27 17:27:40 +01:00
Kavin
ece47821fb
Ensure watch history preference actually works.
2023-01-13 13:40:12 +00:00
Kavin
1ec8480351
Implement content item component.
2022-11-01 12:36:19 +00:00
Kavin
05e78fed6e
Use index for sorting Watch History.
2022-10-20 16:59:22 +01:00
Kavin
de55a5a0c7
Fix for eslint errors.
2022-05-19 22:17:58 +01:00
Kavin
4c16beedaf
Change import paths to relative paths.
2022-04-08 16:46:49 +01:00
FireMasterK
9b18f2eff2
Add live indicator for videos, pretranslate more components.
2022-01-30 23:48:27 +00:00
FireMasterK
05d7853ef0
Convert inline style css to classes.
2022-01-12 11:59:50 +00:00
Tomasz Rymkiewicz
f576ca74d1
Componentize video sorting functionality
2022-01-12 05:31:12 +00:00
Tomasz Rymkiewicz
53197b5e2d
Autoclose HTML tags
2022-01-12 05:31:12 +00:00
Tomasz Rymkiewicz
d750eabc37
Favour v-text over mustache syntax
2022-01-12 05:31:12 +00:00
FireMasterK
9b6e32683f
Remove whitepace for spacing, and reduce grid dom size.
2022-01-12 05:31:12 +00:00
FireMasterK
43e69ff284
Implement theming in a better manner.
2022-01-12 05:31:12 +00:00
FireMasterK
4899c9717c
Port more classes.
2022-01-12 05:31:12 +00:00
FireMasterK
871447050c
Attempt to migrate more classes.
2022-01-12 05:31:12 +00:00
FireMasterK
69ae2bf131
Replace video grids with windicss.
2022-01-12 05:31:12 +00:00
FireMaskterK
f1e4380582
Add button to clear history.
...
Closes #584
2021-10-31 18:36:21 +00:00
Kavin
1c03633c62
Remove all non-essential js related to uikit. ( #585 )
...
* Remove all non-essential js related to uikit.
* Add padding to the bottom of the grid.
2021-10-31 17:44:36 +00:00
Kavin
92d61a23af
Make eslint work, and fix all warnings. ( #511 )
...
* Make eslint work, and fix all warnings.
* Don't ignore v-html rule globally.
* Remove eslint file and merge in package.json.
2021-10-08 19:52:51 +01:00
ChunkyProgrammer
40b74c7745
Accessibility Improvements ( #467 )
...
* accessibility improvements
* fix listen icon
2021-09-21 22:58:25 +01:00
ChunkyProgrammer
0fd0bb8c83
Add labels to improve accessibility ( #416 )
...
* Add labels to improve accessibility
* switch to double quotes
2021-09-06 03:01:46 +05:30
ChunkyProgrammer
d350a026b2
Fix: Make more text translatable ( #414 )
...
* Make more text translatable
* update subscription page
* Update slovak locale
2021-09-05 18:38:26 +05:30
IceDBorn
6c473d58ac
Restyle history page ( #412 )
2021-09-04 21:09:04 +05:30
Kavin
8feb4fbc41
Add support for client-side watch history. ( #370 )
...
* Add support for client-side watch history.
* Update watched videos more often.
2021-08-22 15:57:09 +05:30