Commit 6a92589e by libai

测试

parent 121ee820
Showing with 14 additions and 14 deletions
...@@ -725,20 +725,20 @@ $(function(){ ...@@ -725,20 +725,20 @@ $(function(){
} }
// flvPlay(data.pullFlowUrl) // flvPlay(data.pullFlowUrl)
$("#myVideo").on("error",function(e){ // $("#myVideo").on("error",function(e){
clearInterval(iosT) // clearInterval(iosT)
var html=[]; // var html=[];
html+='<img class="mc-tv" src="images/mc-tv.png">' // html+='<img class="mc-tv" src="images/mc-tv.png">'
html+='<p>主播暫停,馬上回來</p>' // html+='<p>主播暫停,馬上回來</p>'
$(".room-content-loading").html(html) // $(".room-content-loading").html(html)
$(".room-content-loading").fadeIn(100) // $(".room-content-loading").fadeIn(100)
$(".loading-face").fadeIn(100) // $(".loading-face").fadeIn(100)
clearInterval(loadT) // clearInterval(loadT)
$(".video-box").hide() // $(".video-box").hide()
var player = document.getElementById('myVideo'); // var player = document.getElementById('myVideo');
player.pause() // player.pause()
flvPlayer.unload(); // flvPlayer.unload();
}) // })
$("#myVideo").on("canplay",function(){ $("#myVideo").on("canplay",function(){
clearInterval(iosT) clearInterval(iosT)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment