Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
onPause() {
this._stop('watch')
this._start('pause')
this._inc('pause')
this.listenToOnce(this.container, Events.CONTAINER_PLAY, this.playAfterPause)
this.stopListening(this.container, Events.CONTAINER_TIMEUPDATE, this.onContainerUpdateWhilePlaying)
}