From a6888a2d9d3ef9d2634363b388a96ce3f08ae273 Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Sun, 26 May 2019 19:55:58 +0200 Subject: Fix video player regressions introduced by blurhash merge --- app/javascript/flavours/glitch/features/video/index.js | 3 --- 1 file changed, 3 deletions(-) (limited to 'app/javascript/flavours/glitch/features/video/index.js') diff --git a/app/javascript/flavours/glitch/features/video/index.js b/app/javascript/flavours/glitch/features/video/index.js index 3dd296c3c..b73ea0b07 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(); } -- cgit