annotate.js dispatch pause event

This commit is contained in:
Ruben van de Ven 2023-12-19 08:34:15 +01:00
parent c59b198b54
commit e25960f2e0
1 changed files with 1 additions and 0 deletions

View File

@ -1324,6 +1324,7 @@ class Annotator extends EventTarget {
this.videoIsPlaying = false;
this.audioIsPlaying = false;
this._setPausedFlag(true);
this.dispatchEvent(new CustomEvent('pause', {}));
}
/**