Commit graph

837 commits

Author SHA1 Message Date
Botzy
4648aef21b fix(context menu): calculate menu position inside safe area 2025-01-31 14:04:36 +02:00
Botzy
56d750c960 feat(Context menu): Add context menu over nav, control bar and side drawer button 2025-01-30 13:53:01 +02:00
Botzy
e87048799f refactor(useOutsideClick): pass ref as hook param, use ref to calculate context menu offset 2025-01-30 13:31:14 +02:00
Botzy
a15ce0ea52 fix(Context Menu): handle click inside and outside context menu 2025-01-29 17:55:32 +02:00
Botzy
0eca23873f feat(context menu): enable context menu on right click while loading/buffering 2025-01-29 15:16:39 +02:00
Botzy
9a3be29a39 feat(context menu): enable context menu on right click on video 2025-01-29 15:15:29 +02:00
Timothy Z.
9a2fa6442d refactor(SideDrawer): same flex on series content 2025-01-24 17:13:38 +02:00
Timothy Z.
b8415c48f2 fix(SideDrawer): mobile landscape styles 2025-01-24 15:40:04 +02:00
Tim
6e00a3384c feat: add mark season as watched for videos 2025-01-22 18:39:45 +01:00
Timothy Z.
87e23ed417 fix(SideDrawerButton): styles 2025-01-22 17:01:12 +02:00
Tim
730ca8b9e5 refactor(NextVideoPopup): reduce overall popup size 2025-01-20 15:29:15 +01:00
Tim
d5fb245104 feat(Player): select local subitles once added 2025-01-20 10:56:19 +01:00
Timothy Z.
6d4117125a refactor(NextVideoPopup): remove desc & styles 2025-01-20 09:52:53 +02:00
Tim
42ff17f742 refactor(SubtitlesMenu): update translation key for local subtitles 2025-01-17 20:04:45 +01:00
Tim
3df8eb65d0 feat: allow to drop local subtitles 2025-01-08 20:41:55 +01:00
Tim
003881d06d refactor: move components to their own folder 2024-12-31 18:34:22 +01:00
Tim
56d69d856f
Merge pull request #776 from Stremio/fix/player-subtitles-tracks-layout
Player: fix subtitles tracks layout
2024-12-27 13:25:04 +01:00
Tim
ac54bd4ac9 fix(Player): audio track layout issue 2024-12-27 13:10:04 +01:00
Tim
dbbf12c491 fix(Player): subtitles tracks layout 2024-12-27 11:56:36 +01:00
Tim
c20fcf1532 feat(Player): add label to audio tracks 2024-12-27 11:52:13 +01:00
Tim
702452fc2b refactor: improve tracks language labels 2024-12-26 16:50:31 +01:00
Tim
2eec7ed844 Merge branch 'development' of https://github.com/Stremio/stremio-web into refactor/player-audio-menu 2024-12-24 15:04:15 +01:00
Tim
c83f3e8ded Merge branch 'development' of https://github.com/Stremio/stremio-web into feat/player-side-drawer 2024-12-24 14:52:33 +01:00
Tim
cd1cdf2172 fix: external subtitles offset with shell 2024-12-24 12:28:02 +01:00
Tim
d1583a6f4a
Update src/routes/Player/Player.js
Co-authored-by: Timothy Z. <timothy@stremio.com>
2024-12-20 20:26:48 +01:00
Tim
b9d6e01256 fix(Player): layout issue with audio menu 2024-12-20 20:24:51 +01:00
Tim
caeacf1bc1 Merge branch 'refactor/player-audio-menu' of https://github.com/Stremio/stremio-web into refactor/player-audio-menu 2024-12-20 20:23:26 +01:00
Tim
57aac8a27a fix(Player): audio menu open state 2024-12-20 20:18:17 +01:00
Timothy Z.
08fdf19677 Merge branch 'development' into refactor/player-audio-menu 2024-12-20 19:37:01 +02:00
Timothy Z.
5249d1855f refactor(SideDrawerButton): styles 2024-12-18 11:35:19 +02:00
Timothy Z.
f1cb4c145a feat: add copyright + button mobile styles 2024-12-18 11:30:01 +02:00
Tim
609e407914 fix(Player): hide side drawer button when overlay hidden 2024-12-18 10:24:01 +01:00
Tim
c45cc8afe2 fix(Player): remove side-drawer-layer from overlayHidden 2024-12-18 10:22:15 +01:00
Tim
f6ed54f2f9 feat: add transition to side drawer 2024-12-18 09:38:38 +01:00
Tim
f9cb1a5fd2 refactor(Player): make SideDrawer act like a menu 2024-12-18 09:34:12 +01:00
Timothy Z.
72b7a370fc feat: rewrite sidedrawer to act like a menu 2024-12-16 19:25:31 +02:00
Timothy Z.
1555e05d6b (revert): removal of useeffect | sidedrawer states 2024-12-16 17:08:23 +02:00
Timothy Z.
9b4e3e83b1 remove: unused prop 2024-12-16 16:38:24 +02:00
Timothy Z.
f8d9d0d838 fix(info container): height in landscape mode 2024-12-16 16:37:10 +02:00
Timothy Z.
297b8f172d refactor: keep the DOM organised 2024-12-16 16:32:03 +02:00
Timothy Z.
1788a95f24 fix: strange positioning on movies 2024-12-16 14:19:50 +02:00
Timothy Z.
b45a99296e fix: speed menu overflow issue 2024-12-16 12:31:03 +02:00
Timothy Z.
b8a5e60374 refactor: button position moved to right 2024-12-13 16:33:43 +02:00
Timothy Z.
444152a09b refactor: closer button logic and width on mobile 2024-12-13 13:30:59 +02:00
Timothy Z.
47464ceed0 feat: add close button 2024-12-13 13:06:57 +02:00
Timothy Z.
7a39c40a54 remove: unused var 2024-12-13 12:54:55 +02:00
Timothy Z.
5eb0c01536 fix: videos height 2024-12-12 19:19:24 +02:00
Timothy Z.
6c34c6fd61 fix: use flex instead of height attribute 2024-12-12 19:14:56 +02:00
Timothy Z.
10838315d8 fix: use dvw for width instead of % 2024-12-12 19:10:40 +02:00
Timothy Z.
f97b5f1d69 refactor: import hooks on top of the file 2024-12-12 18:51:33 +02:00
Tim
c811c28be6 refactor: move audio tracks to their own menu 2024-12-10 20:40:17 +01:00
Timothy Z.
483273aacd fix: menu-layer mobile issues 2024-12-10 20:31:55 +02:00
Timothy Z.
de290823e6 fix: speed menu overflow issue 2024-12-10 20:31:38 +02:00
Timothy Z.
3fc1e2c191 fix: action-buttons-container margin issue 2024-12-10 20:31:23 +02:00
Timothy Z.
c3d506c749 fix: padding on MetaPreview 2024-12-10 19:48:43 +02:00
Timothy Z.
cc046ce48a refactor: fix iOS overflow issues 2024-12-10 19:12:41 +02:00
Timothy Z.
d5b8dc9480 Merge branch 'fix/player-mark-video-as-watched' into feat/player-side-drawer 2024-12-10 13:58:19 +02:00
Timothy Z.
5a422b5b33 refactor (styles): landscape mode on mobile 2024-12-09 18:05:10 +02:00
Timothy Z.
d9cec1205c refactor(styles): use dvh to respect safe areas
dvh solves an issue where without fullscreen not all videos in the list are fully visible since vh does not count the safe / unsafe area
2024-12-09 17:39:55 +02:00
Timothy Z.
8e42bb0d1d refactor(styles): videos height 2024-12-09 17:22:37 +02:00
Timothy Z.
36bae5221a refactor(styles): orientation UI tweaks 2024-12-09 16:20:47 +02:00
Timothy Z.
cbffdfa33c refactor(styles): mobile UI adjustments (3) 2024-12-09 16:01:25 +02:00
Timothy Z.
7d2c5118b3 refactor(styles): more mobile adjustments 2024-12-09 15:59:09 +02:00
Timothy Z.
e372b89566 refactor: mobile UI improvements 2024-12-09 15:24:10 +02:00
Timothy Z.
2b03b087f2 fix: ts error for the inert attribute 2024-12-09 12:30:47 +02:00
Tim
41be4528ff fix: don't spread Video component props 2024-12-09 09:06:03 +01:00
Tim
8098bc5c33 fix: mark video as watched on player 2024-12-08 13:57:40 +01:00
Timothy Z.
888b008cae refactor: simlifications, fix arrows 2024-12-06 15:37:23 +02:00
Timothy Z.
61c578160b refactor(SideDrawer): simplify the conditionals 2024-12-06 14:48:50 +02:00
Timothy Z.
a81792ea5d remove: InfoMenu and VideosMenu 2024-12-06 14:45:25 +02:00
Timothy Z.
a726ffb60d feat: init side drawer component 2024-12-06 14:39:16 +02:00
Timothy Z.
7087033522 fix: typo of toggle 2024-11-29 12:17:38 +02:00
Tim
9ea6c82619
Merge pull request #645 from Stremio/feat/seek-player-action
feat(player): add seek action and handle seeking player state
2024-11-28 09:56:37 +01:00
Tim
96a15dfbf6 refactor(Player): format type declaration 2024-11-28 09:23:10 +01:00
Tim
9fc13d2c55 refactor(Player): remove unecessary comments 2024-11-28 09:20:11 +01:00
Tim
941d8d7822 refactor(Player): remove unecessary dep onSeekRequested callback 2024-11-28 09:18:47 +01:00
Tim
bd6367ef50 refactor(Player): core seek action 2024-11-26 18:20:59 +01:00
Lachezar Lechev
6ead608086
fix(payer): Seekbar action and arrow keys for Seek action
Signed-off-by: Lachezar Lechev <lachezar@ambire.com>
2024-11-25 15:41:23 +02:00
Tim
efc2667c1d
Merge pull request #688 from ArtificialSloth/feat/subtitles-track-label
feat: Add label to subtitle tracks
2024-11-20 15:35:01 +01:00
ArtificialSloth
0b40ffe4b7 Merge branch 'feat/subtitles-track-label' of https://github.com/ArtificialSloth/stremio-web into feat/subtitles-track-label 2024-11-20 05:56:16 -05:00
ArtificialSloth
b07e10fe2b handle text overflow for track origin. 2024-11-20 05:56:14 -05:00
ArtificialSloth
18359aa42d
Update src/routes/Player/SubtitlesMenu/SubtitlesMenu.js
Co-authored-by: Timothy Z. <timothy@stremio.com>
2024-11-20 05:40:02 -05:00
ArtificialSloth
ffdb2fd5d4 Swap origin and label, add fallback for url check, translate origin, and handle text overflow for long labels 2024-11-20 05:26:48 -05:00
Timothy Z.
feb84ef4c4 refactor: use single quote strings 2024-11-18 15:52:28 +02:00
Timothy Z.
06e43968c9 refactor: add checks to call setter when needed 2024-11-18 15:49:48 +02:00
Lachezar Lechev
2b4e616701
Merge branch 'development' into feat/seek-player-action 2024-11-18 14:53:09 +02:00
Tim
e51e6f415e chore: update eslint 2024-10-07 12:17:33 +02:00
Tim
443e86a1ad feat: impl openExternal for shell compatibility 2024-09-25 15:34:32 +02:00
ArtificialSloth
faca365925 prevent-url-labels 2024-09-22 01:12:37 -04:00
ArtificialSloth
42ca0550ae feat/subtitles-track-label 2024-09-22 00:17:06 -04:00
Timothy Z.
9168df4b82 refactor: add onKeyUp to not setSeeking to false 2024-07-31 10:52:38 +03:00
Lachezar Lechev
e5064b68f0
Merge branch 'development' into feat/seek-player-action 2024-07-25 15:55:31 +03:00
Lachezar Lechev
84ad70fc43
fix: Player - onSeekRequest and setting the seeking flag to true before updating the video player
Signed-off-by: Lachezar Lechev <lachezar@ambire.com>
2024-07-25 15:54:01 +03:00
Timothy Z.
90a313af8d refactor: move dom position 2024-05-17 11:54:23 +03:00
Lachezar Lechev
9745161999
fix(player): setSeeking false right after seek instead of using video.state.buffering
Signed-off-by: Lachezar Lechev <lachezar@ambire.com>
2024-05-17 11:25:26 +03:00
Lachezar Lechev
e66c383e23
fix: usePlayer exports and TS definition
Signed-off-by: Lachezar Lechev <lachezar@ambire.com>
2024-05-17 11:24:49 +03:00
Timothy Z.
1e5e87ca38 refactor: remove z-index + fix delay 2024-05-17 11:23:06 +03:00
Lachezar Lechev
5d5c28b118
fix(player): buffering effects for seeking
Signed-off-by: Lachezar Lechev <lachezar@ambire.com>
2024-05-17 10:19:33 +03:00
Lachezar Lechev
a6b66667f1
feat(player): add seek action and handle seeking player state w/ debug statements
Signed-off-by: Lachezar Lechev <lachezar@ambire.com>
2024-05-16 19:38:34 +03:00
Timothy Z.
b1020724d9 refactor: lower img opac. to be sure err visible 2024-05-16 17:41:02 +03:00
Timothy Z.
363107de68 refactor: image styles 2024-05-16 13:19:12 +03:00
Timothy Z.
0584618b66 feature: background splash screen on load 2024-05-16 13:15:56 +03:00
Timothy Z.
a659e88cfa refactor: make sure error is not thrown when null 2024-05-13 16:24:55 +03:00
Timothy Z.
afde589963 refactor: use llength as the condition 2024-05-13 16:14:19 +03:00
Timothy Z.
36e3cf3a84 refactor: change the rendering condition 2024-05-13 16:05:02 +03:00
kKaskak
f4531177d5 fix: videos menu rendering conditions 2024-04-22 14:08:17 +03:00
kKaskak
65edf59d17 fix: remaining time tabindex 2024-03-25 20:29:04 +02:00
Arpit Batra
10e37a9889
Update src/routes/Player/ControlBar/SeekBar/SeekBar.js
Co-authored-by: Timothy Z. <117831817+kKaskak@users.noreply.github.com>
2024-03-19 19:59:35 +05:30
Arpit Batra
d3e0ff2437 Update SeekBar component to toggle between total time and remaining time 2024-03-18 12:18:59 +05:30
Arpit Batra
dbd98750e7 Add Button component to SeekBar.js 2024-03-13 11:05:38 +05:30
Arpit Batra
7f6cc0ef15 Update SeekBar component to display remaining time when duration mode is changed 2024-03-12 23:33:48 +05:30
Alexandru Branza
445693508e ensure stremio-server is loaded before loading a video 2024-02-25 16:22:48 +02:00
kKaskak
6ed892ad12 refactor: implement useMemo for the iconName 2024-02-13 19:29:14 +01:00
kKaskak
15cdd4f70a refactor: simplify the logic 2024-01-17 23:04:34 +02:00
kKaskak
69e90e8d8b refactor: moved & refactored the logic to the component 2024-01-17 20:24:20 +02:00
kKaskak
4ce1ee7a6a refactor: add a conditional to the indicator 2024-01-10 18:15:07 +02:00
kKaskak
fd5be6985d feature: VolumeChangeIndicatorImplementation 2024-01-10 17:56:22 +02:00
Tim
8e1ab43563 refactor(ControlBar): remove unecessary callbacks 2024-01-05 11:47:31 +01:00
Tim
cdff875412 refactor(Player): remove unecessary element 2024-01-04 19:18:06 +01:00
Tim
724260886d refactor(Player): move player immersed to a useMemo 2024-01-04 13:56:40 +01:00
Tim
ed6ed15a74 Merge branch 'development' of https://github.com/Stremio/stremio-web into refactor/video-player 2024-01-04 13:42:01 +01:00
Tim
d0d4ef25eb fix: external player stream logic 2023-12-20 07:36:11 +01:00
Tim
0463cb109f refactor(Player): update to latest core changes 2023-12-14 21:19:21 +01:00
unclekingpin
be2e73159b Merge branch 'development' of github.com:Stremio/stremio-web into surround_sound_enabled 2023-12-07 01:56:58 -08:00
Tim
1b4a8c1028 Merge branch 'development' of https://github.com/Stremio/stremio-web into refactor/video-player 2023-12-06 14:19:40 +01:00
Tim
fc67815d57 fix(Player): check nextVideoPopupOpen for shortcuts 2023-12-06 13:01:53 +01:00
Tim
d862b96946 fix(Player): getStatistics condition check 2023-12-06 12:58:12 +01:00
Tim
8ecca49b00 refactor(Player): move error to component 2023-12-06 12:54:08 +01:00
Tim
b5d259df29 refactor(Player): simplify menus logic 2023-12-06 12:33:58 +01:00
Tim
f2a154de13 fix(Player): useStatistics issue 2023-12-06 12:19:20 +01:00
Tim
da3f1892b6 refactor(Player): create useVideo hook 2023-12-06 12:06:38 +01:00
Tim
87b6278894 refactor(Player): move statistics logic to a hook 2023-11-27 19:15:44 +01:00
Lachezar Lechev
b68465cca5
feat: Player - dispatch NextVideo action to core
Signed-off-by: Lachezar Lechev <lachezar@ambire.com>
2023-11-27 15:35:24 +02:00
unclekingpin
3ddaa0b553 remove the support for maxAudioChannels query param 2023-11-25 08:47:41 -08:00
unclekingpin
09607f3a2e set maxAudioChannels based on surround sound setting 2023-11-25 08:46:18 -08:00
Tim
db3d962798
Merge pull request #502 from Stremio/streaming-server-can-play
Update stremio-video
2023-11-06 15:14:58 +01:00
kKaskak
ef4008ae22 refactor: changed the conditional rendering value 2023-11-06 16:12:43 +02:00
kKaskak
e8c8441e3b prop validation deleted 2023-11-06 16:09:53 +02:00
kKaskak
83ac7c6480 refactor: used metaItem.name instead of passing a prop 2023-11-06 16:09:13 +02:00
kKaskak
35a6843e26 feature: implemented the new pop-up design 2023-11-06 14:40:47 +02:00
unclekingpin
8b8fbc6f88 omit chrome check from maxAudioChannels expr 2023-11-05 07:45:25 -08:00
unclekingpin
557ea31372 send correct mediaCapabilities to stremio-video 2023-11-05 01:07:23 -08:00
kKaskak
e207294a4f feature: seek and seek shift skip 2023-10-31 22:29:29 +02:00
Tim
1b0ac128d1 refactor(Player): improve history for next video 2023-10-31 11:27:26 +01:00
kKaskak
1aeb8637cd refactor: implementation idea changed 2023-10-24 13:59:27 +03:00
kKaskak
bd231ce932 refactor: changed imp approach 2023-10-19 14:16:52 +03:00
kKaskak
517d30f527 refactor: added a prop to slider to fix the volume bar circle color issue 2023-10-19 11:42:58 +03:00
kKaskak
4b5d95b91d Merge branch 'development' into Web-app-post-redesign-fixes 2023-10-17 12:38:47 +03:00
unclekingpin
cf74a57d46 dispatch VideoParamsChanged action 2023-10-10 11:43:10 -07:00
unclekingpin
4300f5206d Revert "Add Video Params for Subs Requests"
This reverts commit 4401157e21.
2023-10-10 11:26:43 -07:00