弹幕基本成型

This commit is contained in:
Harvey Zack committed 2019-04-26 17:17:57 +08:00
1 parent 9d730146c0
commit 495ff8625e
5 files changed
+229 -140

No files matched your search

+2
View File
@@ -4,10 +4,12 @@ var art = new Artplayer({
url: url + '/video/you-name.mp4',
autoSize: true,
plugins: [artplayerPluginDanmu({
// 弹幕样本:https://www.bilibili.com/video/av7185185
danmus: () => artplayerPluginDanmu.bilibiliDanmuParseFromAv(7185185),
speed: 5,
opacity: 1,
color: '#fff',
size: 14,
maxlength: 50,
})],
});