const videojsOptions = {
controls: true,
autoplay: this.isAutoplay(),
- playbackRates: [0.5, 1, 1.25, 1.5, 2],
+ playbackRates: [ 0.5, 1, 1.5, 2 ],
plugins: {
peertube: {
videoFiles: this.video.files,
// 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