From 4ccb6c083025005a495e8ed40ea352c541f66951 Mon Sep 17 00:00:00 2001 From: Glandos Date: Fri, 31 Aug 2018 17:10:01 +0200 Subject: 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. --- client/src/assets/player/peertube-player.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/src/assets') 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 -- cgit v1.2.3