Commit graph

129 commits

Author SHA1 Message Date
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
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
Dmitry Lyzo
9f6fdfdd72 Destroy the player after destroying JavascriptSubtitlesOctopus 2021-10-01 21:41:50 +03:00
Dmitry Lyzo
9338b36b8e Clear JavascriptSubtitlesOctopus when an error occurs 2021-10-01 21:41:50 +03:00
imchasingshadows
5a50783f06
Apply suggestions from code review
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
2021-09-16 19:19:21 +02:00
Kay Simons
118f9e1920 fix: do not repeat fullscreen hack if already set 2021-09-16 18:38:58 +02:00
imchasingshadows
2e66ce13e6
Apply suggestions from code review
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
2021-09-16 16:13:29 +02:00
Kay Simons
59bb2f27a5 fix: implement forced fullscreen hack for webos 2021-09-16 15:56:07 +02:00
imchasingshadows
7f81f5b3f1
Update src/plugins/htmlVideoPlayer/plugin.js
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
2021-09-11 21:03:23 +02:00
imchasingshadows
67a2e0f16d
Update src/plugins/htmlVideoPlayer/plugin.js
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
2021-09-11 17:28:22 +02:00
Kay Simons
f925138695 Merge remote-tracking branch 'upstream/master' into bugfix/web0s-fullscreen 2021-09-04 13:18:54 +02:00
Kay Simons
469767aa50 fix: return videoelement immediately after going fullscreen on tv 2021-09-04 13:12:48 +02:00
Bill Thornton
0fcb5e7b3e
Merge pull request #2857 from njsmith/buffering-is-important 2021-08-12 18:45:55 -07:00
Keegan Dahm
4f7131f59a Changed volume curve from x^2 to x^3 2021-08-10 16:16:52 -07:00
Nathaniel J. Smith
a1a539eeb4 Allow web player to buffer ahead a reasonable amount of data
The hls.js maxBufferLength parameter sets the minimum amount of video
that hls.js will try to buffer. We used to have this set to 30
seconds, but this caused problems with high-bitrate videos trying to
buffer too much data and making Chrome/Firefox cranky, so
maxBufferLength was reduced in #2148 and #2224.

However, those PRs *also* reduced maxMaxBufferLength to 6 seconds,
which doesn't make sense -- basically this is telling hls.js that it
must *never* buffer more than 6 seconds at a time, even if there's
plenty of memory and it wouldn't make the browser cranky at all. And
obviously such a tiny buffer makes it very easy for small network
glitches to cause user-visible playback problems.

So this PR removes the maxMaxBufferLength configuration entirely,
accepting hls.js's default (which is currently 600 seconds).

Fixes #2856
2021-08-10 05:14:59 -07:00
Keegan Dahm
2244554a07 Made volume slider exponential rather than linear 2021-08-07 07:26:28 -07:00
Kay Simons
d06979fbe1 feat: automatically fullscreen player on televisions 2021-07-03 19:42:08 +02:00
Bill Thornton
55dfb219b0 Move plugins css files to sass 2021-03-19 13:46:12 -04:00
Dmitry Lyzo
7568388d97 Fix attachment delivery urls (sa d3c0bdd) 2021-02-26 20:09:55 +03:00
Delgan
71a44a553c
Fix the BufferFullError on Firefox 2020-12-12 16:44:57 +01:00