update eventInit

This commit is contained in:
Harvey Zack committed 2023-06-02 15:36:34 +08:00
1 parent 16994e446e
commit 6c7daa8dc7
3 files changed
+6 -3

No files matched your search

+2 -2
View File
@@ -1,7 +1,7 @@
{
"license": "MIT",
"name": "artplayer",
"version": "5.0.9",
"version": "5.1.0",
"main": "dist/artplayer.js",
"legacy": "dist/artplayer.legacy.js",
"types": "types/artplayer.d.ts",
@@ -24,4 +24,4 @@
"dependencies": {
"option-validator": "^2.0.6"
}
}
}
@@ -74,7 +74,6 @@ export default function eventInit(art) {
addClass($player, 'art-error');
await sleep(constructor.RECONNECT_SLEEP_TIME);
notice.show = i18n.get('Video Load Failed');
art.destroy(false);
}
});