From: Thibaut Girka Date: Sun, 26 May 2019 17:55:58 +0000 (+0200) Subject: Fix video player regressions introduced by blurhash merge X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=6d60701bfaa3a4b2bc168ea413c8f0c8e1545526;p=mastodon.git Fix video player regressions introduced by blurhash merge --- 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(); }