Commit Graph

90 Commits

Author SHA1 Message Date
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
Bill Thornton efc43b42b8 Add config option to include cookies in player requests 2020-11-30 14:38:03 -05:00
Bill Thornton 804077263c Revert "Remove withCredentials from xhrSetup in hls.js"
This reverts commit 3a8e0394dc.
2020-11-30 13:35:50 -05:00
nyanmisaka b7d02c3990 fix the BufferFullError on chromium based browsers 2020-11-30 17:28:39 +08:00
Bill Thornton f3d1b77058 Merge pull request #1903 from dmitrylyzo/return-of-the-scrollbar
Return permanent scrollbar
2020-11-21 15:28:08 -05:00
Dmitry Lyzo b2d342f0e4 Suggestions: inline function 2020-11-21 23:04:42 +03:00
dkanada 36344af64f Merge branch 'master' into osd-tweak 2020-11-21 22:15:49 +09:00
nyanmisaka 34df6baf22 fix airplay in safari 2020-11-21 13:20:44 +08:00
Dmitry Lyzo c2b1d02a33 Merge branch 'master' into return-of-the-scrollbar 2020-11-20 09:28:55 +03:00
Bill Thornton 1f279a9353 Fix sonarqube issue 2020-11-19 17:36:01 -05:00
Bill Thornton 2e1e44d8c4 Add missing changes from #1636 2020-11-19 17:21:24 -05:00
Bill Thornton e43d5f6f72 Merge remote-tracking branch 'upstream/master' into es6 2020-11-19 13:39:55 -05:00
nyanmisaka d3ee7b68fb translation for video aspect ratio 2020-11-17 22:55:48 +08:00
Anthony Lavado 9603d2bb5e Merge pull request #1636 from nyanmisaka/fonts
Add options to use multiple custom fonts for subtitle rendering
2020-11-08 10:27:16 -05:00
vitorsemeano 68079d96a1 multiple javascript error fixes 2020-11-05 23:12:24 +00:00
vitorsemeano 5071aedcea extracted connectionManager from site.js
new module ServerConnections for ConnectionManager
all code adapted to this new module
removed Events and ConnectionManager from eslintrc
2020-11-05 23:12:23 +00:00
Bill Thornton a71b0314d4 Fix apiclient imports 2020-11-05 23:11:47 +00:00
MrTimscampi 7d9208e951 WIP 2020-11-05 23:09:09 +00:00
MrTimscampi bfb8c7c1f6 Make import paths ES6-compatible 2020-11-05 22:58:26 +00:00
Dmitry Lyzo 47f6d198b6 Fix playback of tv show or playlist and restoring of scrollbar after history back 2020-10-31 12:58:34 +03:00
Dmitry Lyzo 5787069b31 Add some comments 2020-10-31 12:54:40 +03:00
Dmitry Lyzo 88b0d6d458 Merge branch 'master' into return-of-the-scrollbar 2020-10-31 11:42:58 +03:00
Dmitry Lyzo f9579e6f05 Fix theme video 2020-09-26 22:48:55 +03:00
Nyanmisaka ab1799544c Merge branch 'master' into fonts 2020-09-04 21:52:46 +08:00
Dmitry Lyzo d644193441 Return permanent scrollbar (killed by refactoring) 2020-09-03 01:27:51 +03:00
Julien Machiels 3cbe0f7264 Merge branch 'master' into connection-manager-global 2020-09-01 10:16:21 +02:00
Bill Thornton b001bc9a16 Fix iOS PiP support detection 2020-08-31 12:44:30 -04:00
MrTimscampi c97d7a6f59 Use connectionManager global 2020-08-30 06:06:47 +02:00
MrTimscampi 3a8e0394dc Remove withCredentials from xhrSetup in hls.js 2020-08-29 16:44:36 +02:00
nyanmisaka f1804009e6 Merge remote-tracking branch 'upstream/master' into fonts 2020-08-19 17:25:25 +08:00
dkanada 84ff01ad51 Merge pull request #1808 from jomp16/master-playback
Support for faster playback rates.
2020-08-17 17:08:42 +09:00
Jeff Sharkey afa56c18af Support for faster playback rates.
The HTML5 video element already has a well-supported "playbackRate" attribute
which can be used to increase playback rate.  This change wires up that control
to be displayed in the Jellyfish web player.

The playback rates offered are between 0.5x and 2x in 0.25x increments, which
matches the YouTube player.  This change also wires up the ">" and "<" key
events to increase and decrease the playback rate, which mirrors the keyboard
shortcuts supported by YouTube.
2020-08-14 18:25:56 -03:00
MrTimscampi 645668454a Merge remote-tracking branch 'upstream/master' into pluginmanager-es6 2020-08-12 15:33:11 +02:00
MrTimscampi 566a818ee6 Merge remote-tracking branch 'upstream/master' into apphost-es6 2020-08-08 21:07:21 +02:00
MrTimscampi 4cd83e6f73 Fix linting errors 2020-08-06 21:32:08 +02:00
MrTimscampi f16df9788a Migrate bundle, qualityOptions, appHost and appLoader 2020-08-06 19:32:29 +02:00
Dmitry Lyzo f712d9c238 Merge branch 'master' into fix-subtitle-line-spacing 2020-08-06 20:11:47 +03:00
MrTimscampi 22a46ecea6 Apply ESLint autofix for no-yoda rule 2020-07-31 12:40:08 +02:00
Dmitry Lyzo 6ef3be136a Add parseInt radix 2020-07-30 23:36:52 +03:00
nyanmisaka b232117ff5 minor changes 2020-07-31 00:35:23 +08:00