Commit 70d649ed by libai

测试

parent 12678112
Showing with 4 additions and 4 deletions
...@@ -721,7 +721,7 @@ $(function(){ ...@@ -721,7 +721,7 @@ $(function(){
}else{ }else{
} }
var iosT=null;
// flvPlay(data.pullFlowUrl) // flvPlay(data.pullFlowUrl)
if(data.liveState==1){ if(data.liveState==1){
clearInterval(iosT) clearInterval(iosT)
...@@ -738,13 +738,13 @@ $(function(){ ...@@ -738,13 +738,13 @@ $(function(){
flvPlayer.unload(); flvPlayer.unload();
} }
$("#myVideo").on("pause",function(){ $("#myVideo").on("pause",function(){
clearTimeout(iosT)
setTimeout(function(){ iosT=setTimeout(function(){
var player = document.getElementById('myVideo'); var player = document.getElementById('myVideo');
player.play() player.play()
},500) },500)
}) })
var iosT=null;
$("#myVideo").on("playing",function(){ $("#myVideo").on("playing",function(){
clearTimeout(iosT) clearTimeout(iosT)
iosT=setTimeout(function(){ iosT=setTimeout(function(){
......
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