Commit c0eadb90 by libai

测试

parent 3900dcdd
Showing with 4 additions and 2 deletions
......@@ -685,17 +685,18 @@ $(function(){
}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" 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=""></video>'
$(".sound-tips").show()
}
}else{
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>'
$(".sound-tips").show()
}
var iosT=null;
$(".video-box").html(html)
if(/android/.test(ua)){
flvPlay(data.pullFlowUrl)
}else{
var player = document.getElementById('myVideo');
player.play()
// iosT=setTimeout(function(){
......@@ -729,6 +730,7 @@ $(function(){
}
var ua = window.navigator.userAgent.toLowerCase();
if (/iphone|ipad|ipod/.test(ua)) {
if(backGo==1)$(".sound-tips").show()
if(sessionStorage.lookNum>=3){
setTimeout(function() {
if(localStorage.uid!=undefined)return;
......
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