mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-27 09:41:20 -08:00
update eventInit
This commit is contained in:
1 parent
16994e446e
commit
6c7daa8dc7
3 files changed
+5
-2
No files matched your search
@@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
- 当播放地址发生错误到达上限后,不会再主动销毁播放器
|
||||||
|
- 更新组件时,支持填写只更新的字段 [pull/549](https://github.com/zhw2590582/ArtPlayer/pull/549)
|
||||||
|
- 当 `autoPlayback` 和 `autoplay` 同时为 `true` 时,会自动跳转播放
|
||||||
|
|
||||||
## [5.0.9] - 2023-5-14
|
## [5.0.9] - 2023-5-14
|
||||||
|
|
||||||
- 修复 `art.autoOrientation` 样式错误问题
|
- 修复 `art.autoOrientation` 样式错误问题
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"name": "artplayer",
|
"name": "artplayer",
|
||||||
"version": "5.0.9",
|
"version": "5.1.0",
|
||||||
"main": "dist/artplayer.js",
|
"main": "dist/artplayer.js",
|
||||||
"legacy": "dist/artplayer.legacy.js",
|
"legacy": "dist/artplayer.legacy.js",
|
||||||
"types": "types/artplayer.d.ts",
|
"types": "types/artplayer.d.ts",
|
||||||
|
|||||||
@@ -74,7 +74,6 @@ export default function eventInit(art) {
|
|||||||
addClass($player, 'art-error');
|
addClass($player, 'art-error');
|
||||||
await sleep(constructor.RECONNECT_SLEEP_TIME);
|
await sleep(constructor.RECONNECT_SLEEP_TIME);
|
||||||
notice.show = i18n.get('Video Load Failed');
|
notice.show = i18n.get('Video Load Failed');
|
||||||
art.destroy(false);
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user