remove arguments from doPause call in Unmount
This commit is contained in:
parent
11a5f9d1d5
commit
61b8e8ee71
1 changed files with 1 additions and 2 deletions
|
@ -100,9 +100,8 @@ class VideoPlayer extends React.PureComponent {
|
|||
const mediaElement = this.refs.media.children[0];
|
||||
if (mediaElement) {
|
||||
mediaElement.removeEventListener("click", this.togglePlayListener);
|
||||
//mediaElement.removeEventListener("play"); ??
|
||||
}
|
||||
this.props.doPause(this.props.mediaId, mediaElement.currentTime);
|
||||
this.props.doPause();
|
||||
}
|
||||
|
||||
renderAudio(container, autoplay) {
|
||||
|
|
Loading…
Reference in a new issue