feat(player): persistent auto-advance + loop playback modes
Two saved-to-account playback settings on the player's prev/next bar (any queued player — feed or playlist): Auto-advance (Off/Next/Prev/Random — what plays when a video ends) and Loop (Off / One = repeat the current video / All = wrap the list at its ends; a single-item list repeats). Stored in users.preferences (playerAutoAdvance/playerLoop), read from the cached me + written via savePrefs so they apply everywhere and survive reloads. The feed's player queue is now the live filtered feed with the watch-state filter NOT applied — marking the current video watched keeps it in the sequence (no reindex/reload mid-play), while a hidden video still drops out. Removes the old frozen-queue workaround and the boolean autoAdvance prop. i18n en/hu/de.
This commit is contained in:
parent
597cec6517
commit
d02c338465
5 changed files with 161 additions and 27 deletions
|
|
@ -4,6 +4,21 @@
|
|||
"back": "Vissza",
|
||||
"previous": "Előző",
|
||||
"next": "Következő",
|
||||
"autoAdvance": {
|
||||
"label": "Auto",
|
||||
"hint": "A videó végén mi jöjjön. Kattintásra vált: Ki, Következő, Előző, Véletlen. A fiókodhoz mentve.",
|
||||
"off": "Ki",
|
||||
"next": "Következő",
|
||||
"prev": "Előző",
|
||||
"random": "Véletlen"
|
||||
},
|
||||
"loop": {
|
||||
"label": "Ismétlés",
|
||||
"hint": "Az aktuális videó ismétlése (Egy), a teljes lista körbe (Mind), vagy egyik sem (Ki). A fiókodhoz mentve.",
|
||||
"off": "Ki",
|
||||
"one": "Egy",
|
||||
"all": "Mind"
|
||||
},
|
||||
"close": "Bezárás",
|
||||
"closeEsc": "Bezárás (Esc)",
|
||||
"description": "Leírás",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue