update docs

This commit is contained in:
Harvey Zack committed 2022-05-01 15:04:53 +08:00
1 parent 54b64418be
commit 77641f4aa3
45 files changed
+137 -135

No files matched your search

@@ -78,6 +78,7 @@ var art = new Artplayer({
color: '#fff', // Font color
size: 25, // Font size
margin: ['10%', 20], // Margin top and margin bottom
antiOverlap: true, // Anti overlap
synchronousPlayback: false, // Synchronous playback speed
filter: (danmu) => danmu.text.length <= 50, // filter function
}),
@@ -78,6 +78,7 @@ var art = new Artplayer({
color: '#fff', // 全局字体颜色
size: 25, // 全局字体大小
margin: ['10%', 20], // 距离顶部和距离底部的高度值
antiOverlap: true, // 防重叠
synchronousPlayback: false, // 是否同步到播放速度
filter: (danmu) => danmu.text.length <= 50, // 弹幕过滤函数
}),