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.
d62ba32363
fix: imports
2026-04-28 17:14:07 +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.
ba45c7f47f
Merge pull request #1235 from mrcanelas/fix/pwa-metadetails-safe-area
...
Build / build (push) Waiting to run
Details: Fix respect PWA safe area
2026-04-28 15:25:57 +02:00
Timothy Z.
450229a40f
restore
2026-04-28 11:48:06 +03:00
Timothy Z.
4107366094
Merge branch 'br-img' of https://github.com/dav1312/stremio-web into pr/1231
2026-04-28 11:40:36 +03:00
mrcanelas
a20640d87f
fix: respect PWA safe area in metadetails
2026-04-27 18:42:18 -03:00
dav1312
55904da5f0
style(ui): update background image alignment
2026-04-27 23:01:10 +02:00
Timothy Z.
233049cf6d
fix: sidedrawer bug on webkit browsers
2026-04-27 14:55:17 +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
David
4e66a60e11
style(ui): adjust side panel border-radii and center main background image
...
- Remove border-radius from side panels where they meet the screen edges to ensure a flush, "docked" appearance against the viewport wall.
- Center the main background image for better visual placement on small screens.
2026-04-25 13:58:32 +02:00
Timothy Z.
ea9edc292c
Merge pull request #1223 from Stremio/feat/add-subtiles-menu-options-context-menu
...
Build / build (push) Waiting to run
Player: Add context menu on subtitle choice
2026-04-23 20:50:50 +03:00
Timothy Z.
0d1358d6cb
fix: correctly use track for selection
2026-04-23 19:47:32 +02:00
Timothy Z.
3c417a3306
fix: correctly show the variant label instead
2026-04-23 19:40:37 +02: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
Timothy Z.
d5b73f8dc2
refactor: simplify sub variant logic
2026-04-22 22:24:22 +03:00
Timothy Z.
b18df103fa
refactor: simplify
2026-04-22 22:21:31 +03:00
Timothy Z.
e2d1654f49
Merge branch 'development' into feat/add-subtiles-menu-options-context-menu
2026-04-22 22:12:00 +03: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.
b4908574bf
remove player control shadows
2026-04-22 12:47:44 +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.
965feed67b
feat: impl context menu on subtitle choice
2026-04-20 12:17:52 +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
Timothy Z.
a322de9093
fix: use set with map to avoid crash on older devices
2026-04-14 21:34:10 +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.
3052a724f4
Merge branch 'development' into pr/1060
2026-04-08 13:48:17 +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.
49240a4e0f
fix(player/statistics): prevent menu from closing on inside click
2026-04-06 21:31:36 +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