Commit 02762cc4 by libai

测试

parent b2145d02
Showing with 9 additions and 8 deletions
...@@ -739,20 +739,21 @@ $(function(){ ...@@ -739,20 +739,21 @@ $(function(){
} }
$("#myVideo").on("pause",function(){ $("#myVideo").on("pause",function(){
clearTimeout(iosT) clearTimeout(iosT)
iosT=setTimeout(function(){ $(".play-icon").fadeIn(200)
var player = document.getElementById('myVideo'); // iosT=setTimeout(function(){
player.play() // var player = document.getElementById('myVideo');
},500) // player.play()
// },500)
}) })
// $("#myVideo").on("waiting",function(){ $("#myVideo").on("waiting",function(){
// clearTimeout(iosT) clearTimeout(iosT)
// layer.msg("流卡了") $(".play-icon").fadeIn(200)
// iosT=setTimeout(function(){ // iosT=setTimeout(function(){
// var player = document.getElementById('myVideo'); // var player = document.getElementById('myVideo');
// player.play() // player.play()
// },500) // },500)
// }) })
$("#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