Commit f7e86449 by libai

测试

parent c74d94fd
Showing with 8 additions and 1 deletions
......@@ -740,12 +740,19 @@ $(function(){
flvPlayer.unload();
}
$("#myVideo").on("pause",function(){
layer.msg("视频暂停了")
setTimeout(function(){
var player = document.getElementById('myVideo');
player.play()
},1000)
})
$("#myVideo").on("playing",function(){
layer.msg("视频卡主了")
setTimeout(function(){
var player = document.getElementById('myVideo');
player.play()
},1000)
})
$("#myVideo").on("canplay",function(){
clearInterval(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