Commit 6a92589e by libai

测试

parent 121ee820
Showing with 14 additions and 14 deletions
......@@ -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)
......
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