Commit 3694187b by libai

测试

parent 36dcc63a
Showing with 6 additions and 4 deletions
...@@ -733,16 +733,18 @@ $(function(){ ...@@ -733,16 +733,18 @@ $(function(){
} }
}else{ }else{
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="object-fit:cover;z-index: 10" poster="" src="'+data.pullFlowUrlHLS+'"></video>' html+='<video muted id="myVideo" webkit-playsinline="true" x-webkit-airplay="true" playsinline="true" x5-video-player-type="h5" x5-video-player-fullscreen="true" style="object-fit:cover;z-index: 10" poster="" src="'+data.pullFlowUrlHLS+'"></video>'
} }
var iosT=null; var iosT=null;
$(".video-box").html(html) $(".video-box").html(html)
if(/android/.test(ua)){ if(/android/.test(ua)){
// flvPlay(data.pullFlowUrl) // flvPlay(data.pullFlowUrl)
}else{ }else{
iosT=setTimeout(function(){ var player = document.getElementById('myVideo');
window.location.reload() player.play()
},5000) // iosT=setTimeout(function(){
// window.location.reload()
// },5000)
} }
// 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