add error icon

This commit is contained in:
Harvey committed 2022-05-18 13:25:56 +08:00
1 parent 5dbac4897b
commit 2f9e0d49ee
51 files changed
+182 -146

No files matched your search

+2 -1
View File
@@ -68,8 +68,9 @@ export default function eventInit(art) {
notice.show = `${i18n.get('Reconnect')}: ${reconnectTime}`;
art.emit('error', reconnectTime);
} else {
art.mask.show = true;
art.loading.show = false;
art.controls.show = false;
art.controls.show = true;
addClass($player, 'art-error');
await sleep(constructor.RECONNECT_SLEEP_TIME);
notice.show = i18n.get('Video Load Failed');