mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-26 08:51:20 -08:00
Optimize bilibiliDanmuParseFromUrl function in artplayer-plugin-danmuku
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user