remove comment
This commit is contained in:
parent
566fb2e0b5
commit
5765c6c1ee
1 changed files with 0 additions and 1 deletions
|
@ -23,7 +23,6 @@ class VideoPlayer extends React.PureComponent {
|
||||||
componentWillReceiveProps(next) {
|
componentWillReceiveProps(next) {
|
||||||
const el = this.refs.media.children[0];
|
const el = this.refs.media.children[0];
|
||||||
if (!this.props.paused && next.paused && !el.paused) el.pause();
|
if (!this.props.paused && next.paused && !el.paused) el.pause();
|
||||||
// if (this.props.paused && !next.paused && el.paused) el.play();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue