From e25960f2e0a654799c9d74291843040452582aa0 Mon Sep 17 00:00:00 2001 From: Ruben van de Ven Date: Tue, 19 Dec 2023 08:34:15 +0100 Subject: [PATCH] annotate.js dispatch pause event --- assets/annotate.js | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/annotate.js b/assets/annotate.js index 2a8b94e..b714b2f 100644 --- a/assets/annotate.js +++ b/assets/annotate.js @@ -1324,6 +1324,7 @@ class Annotator extends EventTarget { this.videoIsPlaying = false; this.audioIsPlaying = false; this._setPausedFlag(true); + this.dispatchEvent(new CustomEvent('pause', {})); } /**