mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-26 17:01:20 -08:00
chore: Reset danmuku queue and emit event on reset
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user