Commit Graph

36 Commits

Author SHA1 Message Date
Bill Thornton 953073cd28 Use index file for apiclient lib imports 2025-04-22 08:48:34 -04:00
Bill Thornton 5bcbcfbe12 Move server connections to lib 2025-04-22 08:26:43 -04:00
viown b4b3028da1 Backport pull request #6298 from jellyfin-web/release-10.10.z
Fix large PDF Display

Original-merge: 048d3f1e2c27fe93f768c2fc82d5f20f38af785f

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

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-11-19 15:44:09 -05:00
Martin 7e4921f1dc Fix blurry pdf player rendering for all viewport sizes (#6182) 2024-10-13 04:24:08 -04:00
Dmitry Lyzo 3025e9bf48 Ignore modified hotkeys 2024-09-14 02:03:38 +03:00
Dmitry Lyzo b2676c1633 Prevent more default actions for hotkeys 2024-09-14 02:01:10 +03:00
Dmitry Lyzo 4c68f500d9 Use keydown event to get actual modifiers 2024-09-14 02:01:09 +03:00
Dmitry Lyzo d20c617d30 Quit immediately if not ready 2024-09-14 02:00:55 +03:00
thornbill 2cbc9e4abf Backport pull request #5694 from jellyfin-web/release-10.9.z
Disable eval support in pdfjs

Original-merge: 4bb0c67340e71dd3198bb8843fccac7960e53e45

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

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-06-23 11:42:26 -04:00
Bill Thornton f35a8151e0 Add prefer optional chaining rule 2023-07-06 13:39:48 -04:00
Bill Thornton f96166657d Move remaining router components 2023-05-02 16:40:31 -04:00
Zourlo b61260ccb9 Update src/plugins/pdfPlayer/plugin.js
change the default value for scale.

Co-authored-by: Bill Thornton <thornbill@users.noreply.github.com>
2023-03-15 16:27:58 +09:00
Zourlo 695cdc6953 Merge branch 'master' into blurred-pdf-fixed 2023-03-11 10:28:39 +09:00
Bill Thornton 0cec50c6aa Merge pull request #4401 from thornbill/add-plugin-types
Add plugin types
2023-03-10 15:23:06 -05:00
Bill Thornton 329cf77c81 Add eslint radix rule for parseInt 2023-03-09 00:20:11 -05:00
Bill Thornton 64ecc3eae7 Add plugin types 2023-03-08 11:08:19 -05:00
Zourlo a935cb66ed Update plugin.js 2023-02-13 05:41:22 +09:00
Zourlo d8e22f68bd Update plugin.js 2023-02-13 05:34:38 +09:00
Zourlo fa7a9aaee6 Blurred pdf
Blurred pdf may happen if the screen is small. I modified pdfPlayer to avoid it.
2023-02-12 21:59:22 +09:00
Bill Thornton 0a0e45d155 Replace apiclient event bus with local version 2022-10-14 10:58:16 -04:00
Bill Thornton b426b6e2bf Fix sonarjs prefer-single-boolean-return 2022-10-11 03:11:41 -04:00
Bill Thornton 5c97fe861a Use dynamic import for pdf.js 2022-09-16 03:06:13 -04:00
Tobias Speicher e0486e49c6 Replace deprecated String.prototype.substr()
.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated

Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
2022-04-21 18:42:42 +02:00
Dmitry Lyzo 119df2cc99 Add aria-hidden to button icons 2022-02-25 01:52:14 +03:00
Dmitry Lyzo 27bdb24598 refactor: Use span for icons 2022-02-25 01:33:21 +03:00
Patrick Farwick b4fc6f7e20 Save reading progress for pdfs for each page
This removes the 10s interval between saving and instead saves the
reading progress for pdf files every time.

As a side effect, the pdf will appear in the "Continue Watching" section
of Jellyfin. Before this commit, there was no indication that someone
started reading the pdf book.

Update the resume button after stopping for the pdf player.
2022-01-19 21:33:13 +00:00
Jake King 87bb6de9d0 Fixes resuming of books
- Adds 1 to the page number when a pecentageTicks is returned
2021-05-06 19:51:17 +01:00
Bill Thornton f60b7686d0 Remove unused variables 2021-03-23 11:28:16 -04:00
Bill Thornton 55dfb219b0 Move plugins css files to sass 2021-03-19 13:46:12 -04:00
Bill Thornton b9b3ed00ea Fix pdfjs import 2020-11-20 23:28:21 -05:00
Bill Thornton a9e539b713 Fix lint errors 2020-11-19 16:42:21 -05:00
Bill Thornton 65fe2b79e8 Fix invalid refs 2020-11-19 14:08:14 -05:00
vitorsemeano 2383a01335 fix webpack errors
files adapted to scss imports
added sass loader
2020-11-06 00:00:34 +00:00
dkanada b24235f21b fix linting issues 2020-10-23 05:22:03 +09:00
dkanada 3f55a79d74 fix minor issues with book players 2020-10-21 16:00:33 +09:00
dkanada 108ebc58a6 add basic pdf reader 2020-09-01 22:55:08 +09:00