Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

libai / footseen-large-website

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Commit f7e86449 authored 2 years ago by libai's avatar libai
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

测试

parent c74d94fd
Hide whitespace changes
Inline Side-by-side
Showing with 8 additions and 1 deletions
  • mTest/room/liveRoom.html
mTest/room/liveRoom.html
View file @ f7e86449
...@@ -740,12 +740,19 @@ $(function(){ ...@@ -740,12 +740,19 @@ $(function(){
flvPlayer.unload(); flvPlayer.unload();
} }
$("#myVideo").on("pause",function(){ $("#myVideo").on("pause",function(){
layer.msg("视频暂停了")
setTimeout(function(){
var player = document.getElementById('myVideo');
player.play()
},1000)
})
$("#myVideo").on("playing",function(){
layer.msg("视频卡主了")
setTimeout(function(){ setTimeout(function(){
var player = document.getElementById('myVideo'); var player = document.getElementById('myVideo');
player.play() player.play()
},1000) },1000)
}) })
$("#myVideo").on("canplay",function(){ $("#myVideo").on("canplay",function(){
clearInterval(iosT) clearInterval(iosT)
setTimeout(function() { setTimeout(function() {
......
This diff is collapsed. Click to expand it.
  • Write
  • Preview
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