aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGlandos <bugs-github@antipoul.fr>2018-08-31 17:10:01 +0200
committerChocobozzz <me@florianbigard.com>2018-08-31 17:19:38 +0200
commit4ccb6c083025005a495e8ed40ea352c541f66951 (patch)
treeb71de8822385c20daf3f3de36842123f0f349176
parent7f5f4152a4cd4fc328d6ae177d281ebe7e792dd3 (diff)
downloadPeerTube-4ccb6c083025005a495e8ed40ea352c541f66951.tar.gz
PeerTube-4ccb6c083025005a495e8ed40ea352c541f66951.tar.zst
PeerTube-4ccb6c083025005a495e8ed40ea352c541f66951.zip
Add more playback speed (0.75 and 1.25)
Those speeds are much more closer to the normal speed. They are useful for listening to human speeches.
-rw-r--r--client/src/assets/player/peertube-player.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/assets/player/peertube-player.ts b/client/src/assets/player/peertube-player.ts
index 7e53d2142..0f9836c5e 100644
--- a/client/src/assets/player/peertube-player.ts
+++ b/client/src/assets/player/peertube-player.ts
@@ -49,7 +49,7 @@ function getVideojsOptions (options: {
49 poster: options.poster, 49 poster: options.poster,
50 autoplay: false, 50 autoplay: false,
51 inactivityTimeout: options.inactivityTimeout, 51 inactivityTimeout: options.inactivityTimeout,
52 playbackRates: [ 0.5, 1, 1.5, 2 ], 52 playbackRates: [ 0.5, 0.75, 1, 1.25, 1.5, 2 ],
53 plugins: { 53 plugins: {
54 peertube: { 54 peertube: {
55 autoplay: options.autoplay, // Use peertube plugin autoplay because we get the file by webtorrent 55 autoplay: options.autoplay, // Use peertube plugin autoplay because we get the file by webtorrent