mirror of https://github.com/tootsuite/mastodon
				
				
				
			Fix video player regressions introduced by blurhash merge
							parent
							
								
									b4d4138cf9
								
							
						
					
					
						commit
						6d60701bfa
					
				| 
						 | 
					@ -306,9 +306,6 @@ export default class Video extends React.PureComponent {
 | 
				
			||||||
    if (this.video && this.state.revealed && this.props.preventPlayback && !prevProps.preventPlayback) {
 | 
					    if (this.video && this.state.revealed && this.props.preventPlayback && !prevProps.preventPlayback) {
 | 
				
			||||||
      this.video.pause();
 | 
					      this.video.pause();
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  componentDidUpdate (prevProps) {
 | 
					 | 
				
			||||||
    if (prevProps.blurhash !== this.props.blurhash && this.props.blurhash) {
 | 
					    if (prevProps.blurhash !== this.props.blurhash && this.props.blurhash) {
 | 
				
			||||||
      this._decode();
 | 
					      this._decode();
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue