From 22ffb4dcd387c2fe75d8439871d8454eeb825437 Mon Sep 17 00:00:00 2001 From: libai <libai@yazhai.co> Date: Tue, 22 Aug 2023 12:04:46 +0800 Subject: [PATCH] 测试 --- mobile/room/liveRoom.html | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/mobile/room/liveRoom.html b/mobile/room/liveRoom.html index 0aff477..6e78b40 100644 --- a/mobile/room/liveRoom.html +++ b/mobile/room/liveRoom.html @@ -775,7 +775,6 @@ $(function(){ var html=[] $(".room-bg,.video-box").fadeIn(0) $("title").text(data.roomBaseInfo.nickname+'的直播間-footseen直播') - $ if(data.code==-20060){ alert(langRoom[sessionStorage.lang].roomJsTxt1) window.location.href="../index.html" @@ -783,6 +782,11 @@ $(function(){ } roomCId=data.ticketRoomInfo.channelId roomRId=data.ticketRoomInfo.roundId + try{ + + }catch(e){ + + } if(data.room.liveState!=1&&data.room.liveScope!=3){ $(".room-content").hide() $(".mc-out-box").show() @@ -3860,6 +3864,10 @@ $(function(){ clearInterval(turnClock) clearInterval(ReconnectionT) clearInterval(tHeart) + var mVideo = document.getElementById('myVideo'); + mVideo.pause(); + mVideo.removeAttribute('src'); + mVideo.load(); }catch(e){ } @@ -3920,6 +3928,10 @@ $(function(){ clearInterval(turnClock) clearInterval(ReconnectionT) clearInterval(tHeart) + var mVideo = document.getElementById('myVideo'); + mVideo.pause(); + mVideo.removeAttribute('src'); + mVideo.load(); }catch(e){ } -- libgit2 0.25.0