Commit b2145d02 by libai

测试

parent 9b024868
Showing with 10 additions and 9 deletions
......@@ -745,14 +745,14 @@ $(function(){
},500)
})
$("#myVideo").on("waiting",function(){
clearTimeout(iosT)
layer.msg("流卡了")
iosT=setTimeout(function(){
var player = document.getElementById('myVideo');
player.play()
},500)
})
// $("#myVideo").on("waiting",function(){
// clearTimeout(iosT)
// layer.msg("流卡了")
// iosT=setTimeout(function(){
// var player = document.getElementById('myVideo');
// player.play()
// },500)
// })
$("#myVideo").on("canplay",function(){
clearInterval(iosT)
......@@ -1831,6 +1831,7 @@ $(function(){
layer.msg("主播暂停了直播")
var myVideo=document.getElementById('myVideo')
myVideo.pause();
flvPlayer.unload();
var html=[];
html+='<img class="mc-tv" src="images/mc-tv.png">'
html+='<p>主播暫停,馬上回來</p>'
......
......@@ -9,7 +9,7 @@ self.addEventListener('install', (e) => {
});
self.addEventListener('fetch', (e) => {
console.log(e.request.url);
// console.log(e.request.url);
e.respondWith(
caches.match(e.request).then((response) => response || fetch(e.request)),
);
......
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