expose danmuku option

This commit is contained in:
Harvey Zack committed 2022-09-16 13:05:30 +08:00
1 parent c043498280
commit 2ca2eb88a0
2 files changed
+4

No files matched your search

@@ -25,6 +25,9 @@ export default function artplayerPluginDanmuku(option) {
hide: danmuku.hide.bind(danmuku),
show: danmuku.show.bind(danmuku),
reset: danmuku.reset.bind(danmuku),
get option() {
return danmuku.option;
},
get isHide() {
return danmuku.isHide;
},