mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-21 04:31:20 -08:00
update danmuku
This commit is contained in:
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,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",
|
||||
|
||||
Reference in new issue
Block a user