diff --git a/mTest/room/liveRoom.html b/mTest/room/liveRoom.html index 0f90954..2d54463 100644 --- a/mTest/room/liveRoom.html +++ b/mTest/room/liveRoom.html @@ -725,20 +725,20 @@ $(function(){ } // flvPlay(data.pullFlowUrl) - $("#myVideo").on("error",function(e){ - clearInterval(iosT) - var html=[]; - html+='<img class="mc-tv" src="images/mc-tv.png">' - html+='<p>主播暫停,馬上回來</p>' - $(".room-content-loading").html(html) - $(".room-content-loading").fadeIn(100) - $(".loading-face").fadeIn(100) - clearInterval(loadT) - $(".video-box").hide() - var player = document.getElementById('myVideo'); - player.pause() - flvPlayer.unload(); - }) + // $("#myVideo").on("error",function(e){ + // clearInterval(iosT) + // var html=[]; + // html+='<img class="mc-tv" src="images/mc-tv.png">' + // html+='<p>主播暫停,馬上回來</p>' + // $(".room-content-loading").html(html) + // $(".room-content-loading").fadeIn(100) + // $(".loading-face").fadeIn(100) + // clearInterval(loadT) + // $(".video-box").hide() + // var player = document.getElementById('myVideo'); + // player.pause() + // flvPlayer.unload(); + // }) $("#myVideo").on("canplay",function(){ clearInterval(iosT)