Commit Graph

95 Commits

Author SHA1 Message Date
Bill Thornton 056d802c56 Move globalize to lib 2024-08-14 14:00:09 -04:00
enter-a-random-username ff2ed9aeab Use % for playback slider marker postions (#5394)
* Use % for slider postions

* Use calc to get the middle of the marker

* Update src/elements/emby-slider/emby-slider.js

Co-authored-by: Grady Hallenbeck <grhallenbeck@users.noreply.github.com>

---------

Co-authored-by: Grady Hallenbeck <grhallenbeck@users.noreply.github.com>
2024-06-10 14:53:30 -04:00
dmitrylyzo b568f7845e Backport pull request #5667 from jellyfin-web/release-10.9.z
Fix uneven slider value

Original-merge: 5495ef220ae770e6693f70184df9a69288932c9e

Merged-by: thornbill <thornbill@users.noreply.github.com>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-06-06 14:39:53 -04:00
thornbill 9813c3efb9 Backport pull request #5601 from jellyfin-web/release-10.9.z
Fix chapter markers not updating

Original-merge: 167515dbf0c4e1a5e754dd817ba017f66c1de501

Merged-by: thornbill <thornbill@users.noreply.github.com>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-05-25 11:50:54 -04:00
thornbill decdb026fa Backport pull request #5593 from jellyfin-web/release-10.9.z
Fix chapter marker re-rendering

Original-merge: bd03c437168e4b1f68a7f3b069f554e6582abc4b

Merged-by: thornbill <thornbill@users.noreply.github.com>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-05-25 11:50:49 -04:00
nielsvanvelzen 9cf57574fb Backport pull request #5563 from jellyfin-web/release-10.9.z
Fix chapter name XSS injection in progress bar

Original-merge: 7eb54e029f2316caf893126e9647a03165b10e84

Merged-by: thornbill <thornbill@users.noreply.github.com>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-05-25 11:50:39 -04:00
Schoggi0815 5b1a65112a Backport pull request #5519 from jellyfin-web/release-10.9.z
Fix chapter markings not displayed properly

Original-merge: b17ca028f874706c88f581af23e577604becb21d

Merged-by: thornbill <thornbill@users.noreply.github.com>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-05-17 13:52:47 -04:00
Nick 8045b95d93 Add trickplay functionality 2024-02-11 20:34:30 -08:00
Dmitry Lyzo 9024ebea39 Handle pressing Enter to finish keyboard dragging of slider 2023-09-26 23:48:14 +03:00
Dmitry Lyzo 111958e2a5 Pass slider value to bubble text generators 2023-09-26 14:33:31 +03:00
Dmitry Lyzo 9e8c7d788a Fix slider rounding 2023-09-26 14:19:51 +03:00
Dmitry Lyzo b7be3af21c Fix slider step
Use the value of the `step` attribute if no keyboard steps are specified.

(cherry picked from commit 7d27596d6b7545a4d48cc03e26b4f32a3729c591)
2023-09-25 01:30:41 +03: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 2ce9988498 Backport pull request #4628 from jellyfin/release-10.8.z
Fix initial state of volume slider

Original-merge: 62246fe0a93cd32db0dce051791e114df37d8a9a

Merged-by: Bill Thornton <thornbill@users.noreply.github.com>

Backported-by: Bill Thornton <thornbill@users.noreply.github.com>
2023-07-02 02:01:42 -04:00
Dmitry Lyzo a0fa46b3fd Backport pull request #4627 from jellyfin/release-10.8.z
Fix overlap of slider bubble

Original-merge: 35a7dfbed68f6681d10423f44774401975e5ff3d

Merged-by: Bill Thornton <thornbill@users.noreply.github.com>

Backported-by: Bill Thornton <thornbill@users.noreply.github.com>
2023-07-02 01:55:57 -04:00
Bill Thornton f2726653ae Fix indentation issues 2023-04-19 01:56:05 -04:00
edvwib d58f2e8ec4 Enable Stylelint rules for vendor prefixes
This commit also removes a bunch of vendor prefixes that were in the styles
but are no longer needed since PostCSS and Autoprefixer handles generating
them.
2022-12-20 23:49:26 +01:00
Hadi Charara 892f5b73cf Fixed all reported issues 2022-10-13 13:59:48 -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
Viperinius 596ee47c89 Rename some things as suggested. 2022-10-06 16:58:22 +02:00
Viperinius c4bd4d0a05 Keep chapter markers visible whenever the OSD is shown.
(Does not require hovering over the slider anymore.)
2022-10-05 17:49:34 +02:00
Bill Thornton 1f4e65822b Fix sonarjs no-collapsible-if 2022-10-03 14:26:16 -04:00
Viperinius b43c9e0137 Change slider marker for chapters appearance.
Now, the markers are displayed as ticks instead of icons above the slider
2022-10-01 20:09:23 +02:00
Hadi Charara d4202e0279 Replaced all inline entries with attribute bases selectors 2022-07-14 17:59:23 -04:00
Hadi Charara 8488f48f99 Fixed video player 2022-07-05 19:58:02 -04:00
Hadi Charara 611f90b564 fixed bugs with video player 2022-07-05 19:44:55 -04:00
Viperinius 04072523ca Update function and class names as suggested.
More generic name without the inclusion of "chapters" allows potential
reuse in the future.
2022-07-05 17:11:58 +02:00
Viperinius ba2c365ac9 Use object to return multiple info instead of array. 2022-07-05 16:31:48 +02:00
Viperinius b78d6439b0 Change chapter mark classes to include name info.
In order to use different icons depending on the chapter name, the name
is provided as a class with the prefix scm-.
2022-07-04 22:07:34 +02:00
Hadi Charara df39a9a1ff Uses now proper toLocaleString function 2022-07-03 14:03:39 -04:00
Viperinius 20a1c34ea8 Add generic font family to chapter mark 2022-07-03 18:04:48 +02:00
Viperinius c0b092e208 Set chapter mark icon via CSS instead of class.
Allows easier customisation of what icon should be displayed.
2022-07-03 16:59:01 +02:00
Hadi Charara 4530e44e62 Small fix for video player as the progress bar shouldn't be rtl 2022-07-03 09:10:02 -04:00
Hadi Charara 974417ce3d use inline and block properties now 2022-07-02 22:59:40 -04:00
Hadi Charara 0f994ccb5b Initial support for RTL layouts 2022-07-02 15:50:52 -04:00
Viperinius 49f1f1fae3 Add chapter markings to video player timeline.
These labels show the start of each chapter when interacting with the
slider the same way that activates the slider bubble. They follow the
same color scheme as the slider (watched chapters turn blue).

Inspired by https://features.jellyfin.org/posts/397/chapter-markers-in-timeline
2022-06-26 01:10:20 +02:00
Dmitry Lyzo 59adbc348a Escape HTML 2022-03-06 13:29:14 +03:00
Bill Thornton f60b7686d0 Remove unused variables 2021-03-23 11:28:16 -04:00
Bill Thornton 34a19e0781 Move elements css files to sass 2021-03-19 13:46:12 -04:00
dkanada 36344af64f Merge branch 'master' into osd-tweak 2020-11-21 22:15:49 +09:00
Nyanmisaka ea8a2d5549 Apply suggestions from code review
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
2020-11-20 23:43:55 +00:00
nyanmisaka 17142dc6d3 tweak osd for narrow view 2020-11-17 22:36:01 +08:00
Bill Thornton 9343318a4f Fix webcomponents imports 2020-11-05 23:11:47 +00:00
MrTimscampi bfb8c7c1f6 Make import paths ES6-compatible 2020-11-05 22:58:26 +00:00
dkanada 39eddeb205 run eslint to fix most var instances 2020-10-07 21:12:14 +09:00
MrTimscampi 566a818ee6 Merge remote-tracking branch 'upstream/master' into apphost-es6 2020-08-08 21:07:21 +02:00
MrTimscampi 8f098dc26d Fix linting errors 2020-08-06 19:32:31 +02:00
Dmitry Lyzo 48886918d3 Merge remote-tracking branch 'upstream/master' into fix-subtitle-line-spacing
Conflicts:
	src/components/subtitlesettings/subtitleappearancehelper.js
	src/plugins/htmlVideoPlayer/plugin.js
2020-07-30 17:57:33 +03:00