From 1198a08cc76c9b25209e776a3cfc529584cbdd67 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 1 Mar 2018 14:14:56 +0100 Subject: Fix playback rate --- client/src/assets/player/peertube-videojs-plugin.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'client/src/assets') diff --git a/client/src/assets/player/peertube-videojs-plugin.ts b/client/src/assets/player/peertube-videojs-plugin.ts index 618d77cbe..3b366ec9b 100644 --- a/client/src/assets/player/peertube-videojs-plugin.ts +++ b/client/src/assets/player/peertube-videojs-plugin.ts @@ -307,7 +307,9 @@ class PeerTubePlugin extends Plugin { // Do not display error to user because we will have multiple fallbacks this.disableErrorDisplay() + this.player.src = () => true + this.player.playbackRate(1) const previousVideoFile = this.currentVideoFile this.currentVideoFile = videoFile -- cgit v1.2.3