添加flv.js演示

This commit is contained in:
Harvey Zack committed 2018-11-24 17:08:36 +08:00
1 parent c7c9e0a311
commit 8a9f70720a
11 files changed
+143 -33

No files matched your search

+1 -2
View File
@@ -80,8 +80,7 @@ export default function eventInit(art, player) {
if (reconnectTime < maxReconnectTime) {
sleep(1000).then(() => {
reconnectTime += 1;
art.emit('beforeMountUrl', option.url);
$video.src = player.mountUrl(option.url);
player.attachUrl(option.url);
notice.show(`${i18n.get('Reconnect')}: ${reconnectTime}`);
});
} else {