Commit a525ea4b by libai

测试

parent 0f098588
Showing with 4 additions and 5 deletions
...@@ -708,15 +708,14 @@ $(function(){ ...@@ -708,15 +708,14 @@ $(function(){
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)
var iosTime=0;
var iosT=null; var iosT=null;
if(/android/.test(ua)){ if(/android/.test(ua)){
flvPlay(data.pullFlowUrl) flvPlay(data.pullFlowUrl)
}else{ }else{
iosT=setInterval(function(){ iosT=setTimeout(function(){
iosTime++ window.location.reload()
if(iosTime>=3)window.location.reload() },3000)
},1000)
} }
// flvPlay(data.pullFlowUrl) // flvPlay(data.pullFlowUrl)
......
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