mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-26 17:01:20 -08:00
添加弹幕插件方法
This commit is contained in:
1 parent
b1819b3ea2
commit
8aac0ba52f
5 files changed
+336
-82
No files matched your search
@@ -6,12 +6,12 @@ function artplayerPluginDanmu(option) {
|
||||
const danmuku = new Danmuku(art, option);
|
||||
return {
|
||||
name: 'artplayerPluginDanmu',
|
||||
emit: danmuku.emit,
|
||||
start: danmuku.start,
|
||||
stop: danmuku.stop,
|
||||
hide: danmuku.hide,
|
||||
show: danmuku.show,
|
||||
config: danmuku.config,
|
||||
emit: danmuku.emit.bind(danmuku),
|
||||
start: danmuku.start.bind(danmuku),
|
||||
stop: danmuku.stop.bind(danmuku),
|
||||
hide: danmuku.hide.bind(danmuku),
|
||||
show: danmuku.show.bind(danmuku),
|
||||
config: danmuku.config.bind(danmuku),
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user