From: Glandos Date: Fri, 31 Aug 2018 15:10:01 +0000 (+0200) Subject: Add more playback speed (0.75 and 1.25) X-Git-Tag: v1.0.0-beta.12~63 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=4ccb6c083025005a495e8ed40ea352c541f66951;p=github%2FChocobozzz%2FPeerTube.git 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. --- 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: { poster: options.poster, autoplay: false, inactivityTimeout: options.inactivityTimeout, - playbackRates: [ 0.5, 1, 1.5, 2 ], + playbackRates: [ 0.5, 0.75, 1, 1.25, 1.5, 2 ], plugins: { peertube: { autoplay: options.autoplay, // Use peertube plugin autoplay because we get the file by webtorrent