Commit 12678112 by libai

测试

parent c2ffa043
Showing with 5 additions and 6 deletions
...@@ -715,13 +715,11 @@ $(function(){ ...@@ -715,13 +715,11 @@ $(function(){
} }
$(".video-box").html(html) $(".video-box").html(html)
var iosT=null;
if(/android/.test(ua)){ if(/android/.test(ua)){
flvPlay(data.pullFlowUrl) flvPlay(data.pullFlowUrl)
}else{ }else{
// iosT=setTimeout(function(){
// window.location.reload()
// },5000)
} }
// flvPlay(data.pullFlowUrl) // flvPlay(data.pullFlowUrl)
...@@ -746,9 +744,10 @@ $(function(){ ...@@ -746,9 +744,10 @@ $(function(){
player.play() player.play()
},500) },500)
}) })
var iosT=null;
$("#myVideo").on("playing",function(){ $("#myVideo").on("playing",function(){
layer.msg("视频卡主了") clearTimeout(iosT)
setTimeout(function(){ iosT=setTimeout(function(){
var player = document.getElementById('myVideo'); var player = document.getElementById('myVideo');
player.play() player.play()
},500) },500)
......
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