diff --git a/src/renderer/component/video/internal/player.jsx b/src/renderer/component/video/internal/player.jsx index 61da3e750..51a39fc2c 100644 --- a/src/renderer/component/video/internal/player.jsx +++ b/src/renderer/component/video/internal/player.jsx @@ -22,10 +22,10 @@ class VideoPlayer extends React.PureComponent { this.toggleFullScreenVideo = this.toggleFullScreen.bind(this); } - componentWillReceiveProps(nextProps) { - const el = this.refs.media.children[0]; - if (!this.props.paused && nextProps.paused && !el.paused) el.pause(); - } + // componentWillReceiveProps(nextProps) { + // const el = this.refs.media.children[0]; + // if (!this.props.paused && nextProps.paused && !el.paused) el.pause(); + // } componentDidMount() { const container = this.media;