annotate.js dispatch pause event
This commit is contained in:
parent
c59b198b54
commit
e25960f2e0
1 changed files with 1 additions and 0 deletions
|
@ -1324,6 +1324,7 @@ class Annotator extends EventTarget {
|
||||||
this.videoIsPlaying = false;
|
this.videoIsPlaying = false;
|
||||||
this.audioIsPlaying = false;
|
this.audioIsPlaying = false;
|
||||||
this._setPausedFlag(true);
|
this._setPausedFlag(true);
|
||||||
|
this.dispatchEvent(new CustomEvent('pause', {}));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue