From 6d60701bfaa3a4b2bc168ea413c8f0c8e1545526 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') 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