mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-05-12 13:20:45 +00:00
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
|
||
|---|---|---|
| .. | ||
| AudioMenu | ||
| BufferingLoader | ||
| ControlBar | ||
| Error | ||
| Indicator | ||
| NextVideoPopup | ||
| OptionsMenu | ||
| SideDrawer | ||
| SideDrawerButton | ||
| SpeedMenu | ||
| StatisticsMenu | ||
| SubtitlesMenu | ||
| Video | ||
| VideosMenu | ||
| VolumeChangeIndicator | ||
| index.js | ||
| Player.js | ||
| styles.less | ||
| useMediaSession.ts | ||
| usePlayer.d.ts | ||
| usePlayer.js | ||
| useStatistics.js | ||
| useVideo.js | ||
| videoState.d.ts | ||