Commit Graph

149 Commits

Author SHA1 Message Date
Ivan Schurawel acdbf59b50 chore: add debounce to setSubtitleOffset 2023-03-02 16:22:06 +09:00
Ivan Schurawel 032d03d201 fix: don't set temp variable 2023-03-02 16:22:06 +09:00
Ivan Schurawel 2caa2851b9 fix: use correct name
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
2023-03-02 16:22:06 +09:00
Ivan Schurawel f20ee0b2ea fix: disable track mode to force clear active cues 2023-03-02 16:22:06 +09:00
Ivan Schurawel f2fd96aced fix: clear stuck subtitle track cues 2023-03-02 16:22:06 +09:00
Ivan Schurawel 4ca927991f Update src/plugins/htmlVideoPlayer/plugin.js
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
2023-02-21 09:16:32 -05:00
Ivan Schurawel 89ec4cf9cf chore: implement feedback 2023-02-21 09:16:32 -05:00
Ivan Schurawel fb68bb1419 fix: define options before setting secondary track 2023-02-21 09:16:32 -05:00
Ivan Schurawel fe970743f1 chore: remove fix for stuck track cues 2023-02-21 09:16:32 -05:00
Ivan Schurawel c7f31c0fac fix: pass player to playbackManager 2023-02-21 09:16:32 -05:00
Ivan Schurawel 6c0a173361 use whole subtitles element
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 abc663f6f6 fix: update ssa/ass checks, custom track location, offsets 2023-02-21 09:16:32 -05:00
Ivan Schurawel 49bae6b67c fix: failed lint check 2023-02-21 09:16:32 -05:00
Ivan Schurawel 8fd9d83d8e chore: refactor check, move consts 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 e01124cbca chore: use specific method for checking track 2023-02-21 09:16:32 -05:00
Ivan Schurawel e871300265 chore: refactor destroyCustomTrack method 2023-02-21 09:16:32 -05:00
Ivan Schurawel 529e70222a fix: update custom renderer logic/custom track spacing 2023-02-21 09:16:32 -05:00
Ivan Schurawel 348de5ac7f feat: resume secondary track for current session 2023-02-21 09:16:32 -05:00
Ivan Schurawel 256084ffb8 fix: correctly apply offsets/hide existing for certain browsers 2023-02-21 09:16:32 -05:00
Ivan Schurawel ab993886c1 feat: add custom rendered secondary tracks 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
Dmitry Lyzo abed235b50 Backport pull request #4263 from jellyfin/release-10.8.z
Fix change audio track

Original-merge: 9139153d16e39c40d068435fe642925a2d7a66a3

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

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2023-01-22 14:08:02 -05:00
Aimekram bf145a602c refactor: give variables more descriptive names 2022-10-19 22:23:38 +02:00
Aimekram 8251b65399 fix: indentation 2022-10-19 22:15:25 +02:00
Aimekram 832b9eaf4d fix: eslint no-shadow errors 2022-10-16 16:04:37 +02: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
Dmitry Lyzo 2348f815c6 Remove resizeObserver
Leftover from 0cb54feb53
2022-10-07 15:39:01 +03:00
Bill Thornton 4972f50a06 Fix sonarjs no-identical-functions 2022-10-05 15:31:15 -04:00
Bill Thornton 554cd1210c Fix sonarjs no-duplicated-branches 2022-10-05 12:58:48 -04:00
Bill Thornton 1f4e65822b Fix sonarjs no-collapsible-if 2022-10-03 14:26:16 -04:00
Hadi Charara 32f103b852 Merge branch 'master' into hadicharara/added-support-for-rtl-layouts 2022-10-01 16:55:59 -04:00
Ivan Schurawel 908c7752ea chore: enable native firefox subtitles 2022-09-12 13:38:59 -04:00
taku0 3d51c68725 Respect safe area (notch) of mobile devices
This adds paddings to various containers so that buttons and contents are not
hidden by the notch or the Home indicator (the gray bar at the bottom).

- `src/assets/css/librarybrowser.scss`
  - `.skinHeader`: menu bar at the top.
  - `.padded-left` and `.padded-right`: the heading of library.

- `src/assets/css/site.scss`
  - `.content-primary`, `.padded-bottom-page`, `.page`,
    `.pageWithAbsoluteTabs`, and `.pageTabContent`: settings and dashboards.

- `src/elements/emby-scroller/emby-scroller.scss`
  - `.emby-scroller`: the library items.

- `src/assets/css/videoosd.scss`
  - `.videoOsdBottom`: the video playback control buttons and the progress bar.

- `src/components/alphaPicker/style.scss`
  - `.alphaPicker-fixed` and `.alphaPicker-fixed-right`: the alphabet picker.

- `src/components/appFooter/appFooter.scss`
  - `.appfooter`: the bottom bar showing the currently playing media.

- `src/components/multiSelect/multiSelect.scss`
  - `.selectionCommandsPanel`: the top bar when selecting multiple media.
    Shown when long-pressing media.

- `src/components/remotecontrol/remotecontrol.scss`
  - `.playlistSectionButton`: the bottom bar for current playlist.
    Shown when touching `.appfooter`.

- `src/components/toast/toast.scss`
  - `.toastContainer`: the toast.  Shown when refreshing metadata.

- `src/index.html`
  - `.mainDrawerHandle`: gesture area for the drawer.
    It seems conflicting with gestures of Safari.

- `src/libraries/navdrawer/navdrawer.scss`
  - `.tmla-mask` and `.touch-menu-la`: the drawer.

- `src/plugins/htmlVideoPlayer/style.scss`
  - `.videoPlayerContainer`: the video area when not fullscreen.
  - `.videoSubtitles`: the video subtitles for some devices, not including
    iPhone.

- `src/plugins/youtubePlayer/style.scss`
  - `.youtubePlayerContainer` container for the YouTube plugin.  Not tested.
2022-08-18 17:34:57 +09:00
Hadi Charara 8b6894808f Fixed video player subtitles 2022-07-05 22:25:13 -04:00
Joshua M. Boniface b8ae732c98 Merge pull request #3724 from samcon/fix_resume_webos
(cherry picked from commit bc48691738591bfac698fb79b1f4997d32dc8f34)
Signed-off-by: Bill Thornton <billt2006@gmail.com>
2022-06-29 01:05:08 -04:00
Cody Robibero 1efd07ab2f Merge pull request #3667 from dmitrylyzo/release-lint-job
Enable Lint job on release branches

(cherry picked from commit f1274041ce4dcb5745ab73af277c3a7d99ba332f)
Signed-off-by: crobibero <cody@robibe.ro>
2022-05-22 09:07:02 -04:00
Joshua M. Boniface 7e0b442e38 Merge pull request #3644 from dmitrylyzo/bump-jso
(cherry picked from commit a36f515b3089058fba1fecfd87e62b57950ac869)
Signed-off-by: Joshua Boniface <joshua@boniface.me>
2022-05-20 23:02:06 -04:00
Bill Thornton 00c6d7e1a8 Merge pull request #3643 from dmitrylyzo/fix-tizen5
(cherry picked from commit 08951633445f151cd8396547913411961f54b6b5)
Signed-off-by: Joshua Boniface <joshua@boniface.me>
2022-05-20 23:02:06 -04:00
Bill Thornton 069bb6d0ae Merge pull request #3635 from dmitrylyzo/fix-ssa-font
Fix SSA/ASS missing font

(cherry picked from commit 38ef0e2bf2cc47d326314d56b0e74f210fec82dc)
Signed-off-by: Joshua Boniface <joshua@boniface.me>
2022-05-20 23:02:06 -04:00
Bill Thornton 125d5cb015 Move backdrop transparency method to component 2022-04-12 16:22:00 -04:00
Dmitry Lyzo dc2dc823a8 Display physical dimensions of player
When using browser or system-wide scaling, the player size
changes, misleading the user.
2022-02-11 09:11:21 +03:00
Marius Luca 0ab71eb899 - limit font attachments requested for ass subtitles to a supported formats list 2022-01-13 12:34:15 +02:00
Dmitry Lyzo 2af0b91dad Reset media source 2021-10-15 21:49:11 +03:00
Dmitry Lyzo a7dce35fae Unbind error event 2021-10-15 21:49:11 +03:00
Dmitry Lyzo 50880983cc Give JavascriptSubtitlesOctopus time to dispose itself 2021-10-01 21:41:50 +03:00