update danmuku

This commit is contained in:
Harvey Zack committed 2022-05-23 20:28:30 +08:00
1 parent 3d47813f12
commit ea2c3dc289
6 files changed
+25 -15

No files matched your search

@@ -1,6 +1,6 @@
{
"license": "MIT",
"version": "4.4.2",
"version": "4.4.3",
"name": "artplayer-plugin-danmuku",
"description": "Danmuku plugin for ArtPlayer",
"main": "dist/artplayer-plugin-danmuku.js",
@@ -170,6 +170,12 @@ export default function setting(art, danmuku) {
onResize();
art.on('resize', onResize);
art.on('destroy', () => {
if (option.mount) {
option.mount.removeChild($emitter);
}
});
}
function addControl() {
+1 -1
View File
@@ -1,7 +1,7 @@
{
"license": "MIT",
"name": "artplayer",
"version": "4.4.2",
"version": "4.4.3",
"main": "dist/artplayer.js",
"types": "types/artplayer.d.ts",
"homepage": "https://artplayer.org",