Optimize bilibiliDanmuParseFromUrl function in artplayer-plugin-danmuku

This commit is contained in:
Harvey Zack committed 2024-06-04 19:00:49 +08:00
1 parent e58285f2dd
commit d57a13a2bd
4 files changed
+5 -2

No files matched your search

@@ -406,6 +406,7 @@ class Danmuku {
});
return result;
}
// 计算弹幕速度
get speed() {
return this.option.synchronousPlayback && this.art.playbackRate ? this.option.speed / Number(this.art.playbackRate) : this.option.speed;
}