From 938edb44a14aa8abf4e545b168fe147daad1e632 Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Sun, 26 May 2019 19:55:58 +0200 Subject: [PATCH] Fix video player regressions introduced by blurhash merge --- app/javascript/flavours/glitch/features/video/index.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/javascript/flavours/glitch/features/video/index.js b/app/javascript/flavours/glitch/features/video/index.js index 3dd296c3c1..b73ea0b07b 100644 --- a/app/javascript/flavours/glitch/features/video/index.js +++ b/app/javascript/flavours/glitch/features/video/index.js @@ -306,9 +306,6 @@ export default class Video extends React.PureComponent { if (this.video && this.state.revealed && this.props.preventPlayback && !prevProps.preventPlayback) { this.video.pause(); } - } - - componentDidUpdate (prevProps) { if (prevProps.blurhash !== this.props.blurhash && this.props.blurhash) { this._decode(); }