chore: Reset danmuku queue and emit event on reset

This commit is contained in:
Harvey Zack committed 2024-05-27 11:47:31 +08:00
1 parent b2f2251c63
commit c7e91e3c8f
3 files changed
+6 -1

No files matched your search

@@ -572,6 +572,7 @@ export default class Danmuku {
reset() {
this.queue.forEach((danmu) => this.makeWait(danmu));
this.art.emit('artplayerPluginDanmuku:reset');
return this;
}