remove arguments from doPause call in Unmount

This commit is contained in:
Travis Eden 2017-12-22 18:18:00 -05:00
parent 11a5f9d1d5
commit 61b8e8ee71

View file

@ -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) {