update docs

This commit is contained in:
Harvey Zack committed 2022-05-02 00:57:02 +08:00
1 parent e9aadad873
commit 526096bef3
46 files changed
+137 -135

No files matched your search

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