From 8d19f587bb2a56c5dcc5bb5521709535c25285a0 Mon Sep 17 00:00:00 2001 From: libai <libai@yazhai.co> Date: Fri, 18 Nov 2022 15:28:56 +0800 Subject: [PATCH] 测试 --- mTest/room/liveRoom.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/mTest/room/liveRoom.html b/mTest/room/liveRoom.html index 63c4202..0139ef8 100644 --- a/mTest/room/liveRoom.html +++ b/mTest/room/liveRoom.html @@ -680,6 +680,11 @@ $(function(){ loadNum++ if(loadNum>21)loadNum=1 },70) + var loadOutNum=500 + var ua = window.navigator.userAgent.toLowerCase(); + if (/android/.test(ua)) { + loadOutNum=1000 + } 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>' $(".video-box").html(html) @@ -688,7 +693,7 @@ $(function(){ clearInterval(loadT) $(".room-content-loading").fadeOut(100) $(".loading-face").fadeOut(100) - }, 1000); + }, loadOutNum); $(".sound-btn").unbind("click").on("click",function(){ var _self=$(this) -- libgit2 0.25.0