mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-22 21:31:20 -08:00
update docs
This commit is contained in:
1 parent
16efac5ac1
commit
0f56ffbef8
9 files changed
+64
-45
No files matched your search
@@ -79,7 +79,7 @@ export default function eventInit(art, player) {
|
||||
art.on('video:error', () => {
|
||||
if (reconnectTime < maxReconnectTime) {
|
||||
sleep(1000).then(() => {
|
||||
player.reconnectTime++;
|
||||
reconnectTime++;
|
||||
art.emit('beforeMountUrl', option.url);
|
||||
$video.src = player.mountUrl(option.url);
|
||||
notice.show(`${i18n.get('Reconnect')}: ${reconnectTime}`);
|
||||
|
||||
Reference in new issue
Block a user