Timothy Z.
c91b33fddd
fix: guard shortcuts against interfering
2026-05-04 12:52:55 +03:00
erik
d51a24a8b1
Remove previous media key seeking
2026-05-03 10:03:32 +02:00
erik
e65c023772
Handle macOS media controls
2026-05-02 18:24:44 +02:00
Timothy Z.
b249f27143
fix: spacebar hold recognision
2026-05-01 19:39:37 +03:00
Timothy Z.
a1d42f686e
Player: offload all subtitles logic to hook
2026-04-30 15:31:02 +03:00
Timothy Z.
e2c5c43dad
fix: improve auto selection of subs
2026-04-30 11:54:20 +03:00
Timothy Z.
5abe361d00
refactor: improve player navigation
2026-04-28 23:52:59 +03:00
Timothy Z.
70e14c4871
refactor: improve navigation
2026-04-28 23:49:46 +03:00
Timothy Z.
93833d0cd1
fixes
...
1. Player.js — Added optional chaining (gamepad?.on/gamepad?.off) to prevent null crash
2. GamepadProvider.tsx — Toast messages now use t('GAMEPAD_CONNECTED') / t('GAMEPAD_DISCONNECTED') via i18next, added keys to en-US.json
3. useVerticalNavGamepadNavigation.tsx — Fixed event.nativeEvent?.spatialNavigationPrevented → event.spatialNavigationPrevented (native DOM events don't have nativeEvent)
4. GamepadProvider.tsx — Changed connectedGamepads from useState to useRef to avoid rAF effect restart cycle, removed it from effect deps, simplified the enabled guard
2026-04-28 17:09:02 +03:00
Timothy Z.
0c1af71aa9
Merge remote-tracking branch 'origin/development' into feat/gamepad-support
...
# Conflicts:
# package-lock.json
# package.json
# src/App/App.js
# src/routes/Player/Player.js
# src/routes/Settings/General/General.tsx
2026-04-28 16:47:48 +03:00
Timothy Z.
0925cb0939
Player: subtitle improvements
2026-04-27 14:50:06 +03:00
Timothy Z.
3d9b403cb8
fix(player): derive subtitles toggle state from live track selection
...
The C shortcut tracked enabled/disabled via a ref that was never reset
on stream change and was not updated when the user picked tracks via
the menu, so the toggle could become inverted or no-op until pressed
twice. Read selectedSubtitlesTrackId / selectedExtraSubtitlesTrackId
directly instead.
2026-04-27 13:57:56 +03:00
Timothy Z.
95ee640813
Player: fix subtitles size shortcut
2026-04-27 10:11:52 +03:00
Timothy Z.
08c7141e67
fix: use translation keys for video scale and hide indicator on initial load
2026-04-23 19:20:54 +02:00
Timothy Z.
cdffeb4fdf
Merge branch 'development' into feat/player-add-video-scale-property
2026-04-23 17:20:58 +03:00
Timothy Z.
d1090032ea
Merge pull request #1219 from Stremio/feat/player-add-hdr-badge
...
Player: Add HDR badge
2026-04-23 17:20:17 +03:00
Timothy Z.
f579873e1b
fix: don't restart stream on next-track media key when no next video
...
The 'next-track' media-key handler called video.setTime(0) before
checking whether a next video existed. onNextVideoRequested() no-ops
when player.nextVideo is null, but the unconditional setTime(0) had
already rewound the current stream — causing movies (which have no
next video) to restart from the beginning when the Windows next-track
media key was pressed.
Guard both calls with the same player.nextVideo check that the
navigator.mediaSession 'nexttrack' handler already uses.
2026-04-23 16:17:38 +02:00
Tim
c782303407
refactor: move media session logic to hook
2026-04-22 17:32:20 +02:00
Timothy Z.
17d823565a
fix: correctly start next video from 0
2026-04-22 17:55:26 +03:00
Timothy Z.
45f8e31f1a
feat: player add media key support
2026-04-22 17:42:56 +03:00
Timothy Z.
5fe4592be6
feat: player add video scale property
2026-04-22 15:31:31 +03:00
Timothy Z.
c8592d5610
feat: use an icon for hdr badge
2026-04-21 13:22:35 +03:00
Timothy Z.
e36d15eccf
feat: add hdr badge
2026-04-21 00:26:52 +03:00
Timothy Z.
5580da8ecf
fix: reselection loop
2026-04-20 16:57:45 +03:00
Timothy Z.
5bc74a9da4
Merge pull request #1199 from Stremio/fix/statistics-menu-handler
...
Build / build (push) Waiting to run
Player: Fix statistics menu shortcut handler
2026-04-20 12:20:55 +03:00
Timothy Z.
fe651a2cca
Merge pull request #1198 from Stremio/fix/blur-window-cancel-shortcut-events
...
Player: Fix cancel shortcut events on blur
2026-04-20 12:20:47 +03:00
Timothy Z.
694fb833aa
fix: statistics menu handler
2026-04-17 21:03:11 +03:00
Timothy Z.
f74f9aafa0
fix: on blue cancel shortcut events
2026-04-17 20:53:48 +03:00
Timothy Z.
bbfe25177b
fix: prioritize embedded subs first
2026-04-17 17:38:31 +03:00
Timothy Z.
8fcffa2c3e
Update Player.js
2026-04-16 12:17:22 +03:00
Timothy Z.
3e93afbe21
fix: space bar holding issues
2026-04-16 12:13:48 +03:00
Tim
35970825fa
Merge pull request #1179 from ignaciojsoler/feat/persist-subtitle-language
...
Build / build (push) Waiting to run
fix: persist subtitle language preference across streams
2026-04-14 13:16:39 +02:00
Ignacio
b69165e868
fix: pass track object to subtitle callbacks and fix lang fallback chain
2026-04-10 10:27:25 -03:00
Timothy Z.
e860752f41
fix(player): cancel hold-to-speed-up timer when menus open (2)
2026-04-06 21:33:18 +03:00
Timothy Z.
b2d81c09ee
fix(player): cancel hold-to-speed-up timer when menus open
2026-04-06 21:33:08 +03:00
Timothy Z.
129f510047
fix(player): block mute and speed/subtitle shortcuts while a menu is open
2026-04-06 21:30:46 +03:00
Timothy Z.
33c3f6d9f0
refactor(player): fold nextVideoPopupOpen into menusOpen and gate playback shortcuts via onShortcut
2026-04-06 21:29:33 +03:00
Tim
3f5dedd072
feat(player): add transitions to menus
2026-04-02 09:53:20 +02:00
Tim
73409fff8c
feat(player): sort subtitles menu languages by default language
2026-04-01 22:39:48 +02:00
Ignacio
9fe7430bc7
fix: persist subtitle language preference across streams
2026-03-29 11:03:42 -03:00
Timothy Z.
003ea9f2dc
fix: prevent hold-to-speed-up when menus or popups are open
...
Closes Stremio/stremio-bugs#2440
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 20:56:09 +02:00
Timothy Z.
7ab75cfc88
Merge pull request #1120 from ArtificialSloth/fix/prevent-autoplay-when-using-external-player
...
Build / build (push) Waiting to run
Fix/Prevent autoplay when using an external player
2026-03-26 19:57:14 +02:00
Timothy Z.
504a3bb0be
Merge pull request #1173 from Stremio/fix/space-hold-reset-playback-speed
...
Player: Fix spacebar and left click hold behavior
2026-03-26 19:54:14 +02:00
Botzy
0286994773
feat(Shortcuts): added shortcuts for increasing and decreasing playback speed
2026-03-26 18:15:46 +02:00
Botzy
3fdda2cdad
fix: set initial playback speed to 1 instead of null
2026-03-26 17:56:46 +02:00
Botzy
866db891ef
fix: mouse hold and release to not reset playback speed to 1x
2026-03-26 17:13:11 +02:00
Botzy
48ba0b8fba
fix: mouse hold click to take effect only outside control bar
2026-03-26 17:04:40 +02:00
Botzy
0c78e39a02
fix: after spacebar key up set previously selected playback speed
2026-03-26 17:04:05 +02:00
schobidotdev
3c2e144f1d
fix: use addon-provided subtitle label instead of URL
2026-03-22 13:03:29 +01:00
Botzy
041748ef71
feat(Player): added shortcut for next episode
2026-03-11 18:56:32 +02:00