aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/assets/player
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-03-01 14:14:56 +0100
committerChocobozzz <me@florianbigard.com>2018-03-01 14:14:56 +0100
commit1198a08cc76c9b25209e776a3cfc529584cbdd67 (patch)
tree886e9995cba7b7954cce4911f6388f7fc45fc248 /client/src/assets/player
parent901637bb87f5eb0518fb7ca69d98b53ed918339e (diff)
downloadPeerTube-1198a08cc76c9b25209e776a3cfc529584cbdd67.tar.gz
PeerTube-1198a08cc76c9b25209e776a3cfc529584cbdd67.tar.zst
PeerTube-1198a08cc76c9b25209e776a3cfc529584cbdd67.zip
Fix playback rate
Diffstat (limited to 'client/src/assets/player')
-rw-r--r--client/src/assets/player/peertube-videojs-plugin.ts2
1 files changed, 2 insertions, 0 deletions
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 {
307 307
308 // Do not display error to user because we will have multiple fallbacks 308 // Do not display error to user because we will have multiple fallbacks
309 this.disableErrorDisplay() 309 this.disableErrorDisplay()
310
310 this.player.src = () => true 311 this.player.src = () => true
312 this.player.playbackRate(1)
311 313
312 const previousVideoFile = this.currentVideoFile 314 const previousVideoFile = this.currentVideoFile
313 this.currentVideoFile = videoFile 315 this.currentVideoFile = videoFile