chore: Update danmuku plugin configuration handling and improve performance

This commit is contained in:
Harvey Zack committed 2024-05-30 00:06:36 +08:00
1 parent 63e7b1a9e6
commit f62bd0558a
3 files changed
+1 -3

No files matched your search

@@ -419,7 +419,6 @@ class Danmuku {
this.$danmuku.innerText = ""; // 清空弹幕层
this.danmus.forEach((danmu)=>this.emit(danmu)); // 逐个验证原始弹幕并转换为实际弹幕
this.art.emit("artplayerPluginDanmuku:loaded", this.queue);
console.log("Danmuku loaded:", this.queue);
} catch (error) {
this.art.emit("artplayerPluginDanmuku:error", error);
throw error;