mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-29 02:51:20 -08:00
Update danmuku.md
This commit is contained in:
1 parent
9973cdc4da
commit
1ee0342f11
1 file changed
+1
-1
@@ -411,7 +411,7 @@ var art = new Artplayer({
|
|||||||
position: 'right',
|
position: 'right',
|
||||||
html: '追加',
|
html: '追加',
|
||||||
click: function () {
|
click: function () {
|
||||||
// 追加新的弹幕库,参数类型和option.danmuku
|
// 追加新的弹幕库,参数类型和option.danmuku相同
|
||||||
const target = '/assets/sample/danmuku.xml'
|
const target = '/assets/sample/danmuku.xml'
|
||||||
art.plugins.artplayerPluginDanmuku.load(target);
|
art.plugins.artplayerPluginDanmuku.load(target);
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in new issue
Block a user