1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00
Commit graph

150 commits

Author SHA1 Message Date
Dmitry Lyzo
cbedc384b3 Fix video OSD not hiding
Sometimes (maybe in some browsers) onHideAnimationComplete
is called on btnPause, and the event listener is disconnecting
because it was connected with "once: true".

As a result, the `hide` class is not added to the OSD element,
allowing the user to interact with transparent elements.

Don't connect listener with "once: true".
2024-06-03 16:48:37 +03:00
Bill Thornton
3630ac0436 Fix chapter markers not updating 2024-05-24 09:33:22 -04:00
Niels van Velzen
b8a7cf214d Fix chapter name XSS injection in progress bar 2024-05-20 16:49:35 +02:00
Bill Thornton
1a172bdb1b Move event type to enum 2024-05-16 12:34:41 -04:00
Bill Thornton
32a91eabf1 Use constant for event name 2024-05-16 00:28:07 -04:00
Bill Thornton
c0467b1f13 Fix video osd not hiding in experimental layout 2024-05-15 14:56:59 -04:00
gnattu
f596b114da fix: don’t change volume when dialog is shown
The dialog on the player could present a large list, requiring scrolling to find the desired option, such as a subtitle or audio track in a huge language list. Changing the volume in these cases will be very annoying.
2024-04-21 01:06:39 +08:00
Nick
5a9378012c Additional code review 2024-03-23 09:31:07 -07:00
Nick
55d57eedcc Code review suggestions 2024-03-22 18:19:30 -07:00
Nick
44602d453e Only set trickplay data on new item info 2024-02-22 17:34:18 -08:00
Nick
7877a43482 Handle different trickplay resolutions 2024-02-11 22:26:49 -08:00
Nick
8045b95d93 Add trickplay functionality 2024-02-11 20:34:30 -08:00
Dmitry Lyzo
8c8e240792 Change behavior of arrow keys and Enter when OSD is hidden
(cherry picked from commit 76c55116ce)
2023-09-22 11:07:27 +03:00
Dmitry Lyzo
0381af80f1 Focus on corresponding button
(cherry picked from commit 884ce171ea)
2023-09-22 11:06:44 +03:00
Dmitry Lyzo
e7cb4ba670 Don't show OSD for Fullscreen and Mute
(cherry picked from commit 51bd2bef1a)
2023-09-22 11:03:57 +03:00
Bill Thornton
bb44ba022d
Merge pull request #4774 from thornbill/owner-of-a-lonely-if 2023-09-14 10:53:21 -04:00
Bill Thornton
20381bd3ec Fix all loneliness 2023-09-12 23:45:36 -04:00
Bill Thornton
d6bcc7466b Fix curly bracket issues 2023-09-12 17:29:03 -04:00
Bill Thornton
f35a8151e0 Add prefer optional chaining rule 2023-07-06 13:39:48 -04:00
Dmitry Lyzo
d80650e0dd Make rating button look like other buttons 2023-05-21 01:05:43 +03:00
fishbigger
a84bee544a Added ability to favorite item from video playback 2023-05-21 01:05:43 +03:00
Xavier-Do
a928b12c44 Fix white background on video refresh
When refreshing a /video page, since no player is available,
`getCurrentPlayer` will be empty and `bindToPlayer` will crash leading
to a redirect with `appRouter.goHome();`
This is also the case when navigating with previous then next in the
browser.

Before that that, the background is set in `viewbeforeshow` using
`setBackdropTransparency(TRANSPARENCY_LEVEL.Full);`

This will leave unexpected classes in the dom leading to a white
background on the main page.

This fixes proposes to reset the transparency before going to home
using `setBackdropTransparency(TRANSPARENCY_LEVEL.None);`
Anyway, this looks a little fragile and a deeper fix may be preferable
in the future.

Another solution would be to move the
`setBackdropTransparency(TRANSPARENCY_LEVEL.Full);` when the player is
ready but my understanding of the flow is not enough to now if it would
have any unexpected results.
2023-05-09 17:03:14 +02:00
Bill Thornton
d7d0d7305c
Merge pull request #4556 from thornbill/routes-cleanup
Cleanup routes
2023-05-04 13:02:33 -04:00
Dmitry Lyzo
81a2d878ca Fix query selector target
Cherry-picked from: 1fb5c4d95d
2023-05-03 01:23:44 +03:00
Bill Thornton
f96166657d Move remaining router components 2023-05-02 16:40:31 -04:00
Bill Thornton
f2726653ae Fix indentation issues 2023-04-19 01:56:05 -04:00
Bill Thornton
8cbb4f8cc0
Merge pull request #4435 from robert-hamilton36/VolumeScroll
Add video volume change on mouse scroll
2023-04-14 17:12:19 -04:00
FireGamer3
b56f83df9a Adds Ratings to both Video Player and Up Next Dialog Window 2023-04-13 20:14:30 -05:00
Bill Thornton
1451e4ece0
Merge pull request #4423 from thornbill/pluginify-syncplay 2023-03-29 23:15:04 -04:00
Bill Thornton
6f3aa2f1df Fix eslint issues 2023-03-29 00:38:22 -04:00
robert-hamilton36
b97d6d3441 add volume adjust onwheel scroll event 2023-03-17 10:59:21 +13:00
Bill Thornton
732ef8fdad Update SyncPlay references to use plugin 2023-03-15 16:55:34 -04:00
Bill Thornton
329cf77c81 Add eslint radix rule for parseInt 2023-03-09 00:20:11 -05:00
Netanel Henya
494c0ed434 cleanup: reorganized sass files to be in src/styles instead of src/assets/css 2023-02-26 01:01:31 +02:00
Ivan Schurawel
c3b50c6d73 fix code styling
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
2023-02-21 09:16:32 -05:00
Ivan Schurawel
b1e397c4bc fix: use correct stream, code safety, race conditions, update css 2023-02-21 09:16:32 -05:00
Ivan Schurawel
f3865f0dac chore: move logic from method to const 2023-02-21 09:16:32 -05:00
Ivan Schurawel
abc663f6f6 fix: update ssa/ass checks, custom track location, offsets 2023-02-21 09:16:32 -05:00
Ivan Schurawel
9ddafb063b fix: limit secondary to non-SSA/ASS subtitles 2023-02-21 09:16:32 -05:00
Ivan Schurawel
f33699ad8a fix: only show secondary if primary sill valid, remove resolveOnClick 2023-02-21 09:16:32 -05:00
Ivan Schurawel
145aea184f feat: add native secondary subtitle support 2023-02-21 09:16:32 -05:00
Davide Maggio
f78f2c7094
Update src/controllers/playback/video/index.js
Co-authored-by: Bill Thornton <thornbill@users.noreply.github.com>
2023-02-08 10:18:23 +01:00
dvdandroid
c33dc8cd7a Added toggle to show/hide remaining video time in video player
Toggle applied to the remaining time label of the video player and added
`-` as a prefix of the remaining time, both behaviours like in VLC.

Toggle preference as user setting.
2023-02-04 16:54:48 +00:00
Bill Thornton
19f416580c Add eslint rules for sonar issues 2022-12-16 21:12:05 -05:00
Bill Thornton
84c007fa0b
Merge pull request #3743 from hadicharara/hadicharara/added-support-for-rtl-layouts
Add Initial support for RTL layouts
2022-10-15 02:50:48 -04:00
Bill Thornton
0a0e45d155 Replace apiclient event bus with local version 2022-10-14 10:58:16 -04:00
Hadi Charara
104ad71ea7 Merge branch 'master' into hadicharara/added-support-for-rtl-layouts 2022-10-12 08:29:53 -04:00
Bill Thornton
1ac326d40b
Merge pull request #3745 from Viperinius/chapter-markers
Add chapter markings to video player slider
2022-10-06 11:45:50 -04:00
Bill Thornton
4972f50a06 Fix sonarjs no-identical-functions 2022-10-05 15:31:15 -04:00
Viperinius
9aea7e3927 Update getMarkerInfo syntax as suggested 2022-10-01 16:09:25 +02:00