Commit 8d19f587 by libai

测试

parent bc243c8a
Showing with 6 additions and 1 deletions
...@@ -680,6 +680,11 @@ $(function(){ ...@@ -680,6 +680,11 @@ $(function(){
loadNum++ loadNum++
if(loadNum>21)loadNum=1 if(loadNum>21)loadNum=1
},70) },70)
var loadOutNum=500
var ua = window.navigator.userAgent.toLowerCase();
if (/android/.test(ua)) {
loadOutNum=1000
}
var soundOk=false var soundOk=false
html+='<video muted id="myVideo" autoplay webkit-playsinline="true" x-webkit-airplay="true" playsinline="true" x5-video-player-type="h5" x5-video-player-fullscreen="true" style="height:100%;object-fit:fill;position:absolute;z-index: 10" poster="" src="'+data.pullFlowUrlHLS+'"></video>' html+='<video muted id="myVideo" autoplay webkit-playsinline="true" x-webkit-airplay="true" playsinline="true" x5-video-player-type="h5" x5-video-player-fullscreen="true" style="height:100%;object-fit:fill;position:absolute;z-index: 10" poster="" src="'+data.pullFlowUrlHLS+'"></video>'
$(".video-box").html(html) $(".video-box").html(html)
...@@ -688,7 +693,7 @@ $(function(){ ...@@ -688,7 +693,7 @@ $(function(){
clearInterval(loadT) clearInterval(loadT)
$(".room-content-loading").fadeOut(100) $(".room-content-loading").fadeOut(100)
$(".loading-face").fadeOut(100) $(".loading-face").fadeOut(100)
}, 1000); }, loadOutNum);
$(".sound-btn").unbind("click").on("click",function(){ $(".sound-btn").unbind("click").on("click",function(){
var _self=$(this) var _self=$(this)
......
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