udpate danmuku example

This commit is contained in:
Harvey Zack committed 2022-04-29 20:42:55 +08:00
1 parent ef66416389
commit 5667235d8d
2 files changed
+10 -9

No files matched your search

+2 -2
View File
@@ -121,10 +121,10 @@
artplayerPluginDanmuku({
danmuku: '/assets/sample/danmuku.xml',
speed: 5,
opacity: 1,
fontSize: 20,
maxlength: 50,
margin: ['10%', 60],
opacity: 1,
fontSize: 14,
synchronousPlayback: false,
filter: (danmu) => danmu.text.length < 20,
}),