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

View file

@ -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', {}));
} }
/** /**