mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-22 13:21:20 -08:00
add worker to danmuku
This commit is contained in:
1 parent
5ff4a8f70b
commit
7bcc296fc2
7 files changed
+206
-283
No files matched your search
+2
-2
@@ -141,7 +141,7 @@
|
||||
],
|
||||
plugins: [
|
||||
artplayerPluginDanmuku({
|
||||
danmuku: '/assets/sample/danmuku.xml',
|
||||
danmuku: '/assets/sample/danmuku-v2.xml',
|
||||
speed: 5,
|
||||
opacity: 1,
|
||||
fontSize: 14,
|
||||
@@ -150,7 +150,7 @@
|
||||
antiOverlap: true,
|
||||
synchronousPlayback: false,
|
||||
filter: (danmu) => danmu.text.length < 50,
|
||||
// filter: (danmu) => danmu.mode === 0,
|
||||
// filter: (danmu) => danmu.mode === 1,
|
||||
}),
|
||||
],
|
||||
whitelist: ['*'],
|
||||
|
||||
Reference in new issue
Block a user