Commit a191d575 by libai

测试

parent 22ffb4dc
Showing with 1 additions and 12 deletions
......@@ -692,6 +692,7 @@ $(function(){
var startTimer1=null
var startTimer2=null
var startTimer3=null
var turnClock=null
//發言條數
var sendNum=0
$(".room-bg").css("height",dHeight+'px')
......@@ -853,24 +854,12 @@ $(function(){
$(".sound-btn").attr("src","images/sound-yes.png")
$(".gift-btn").attr("src","images/gift-btn.png")
$(".video-box video").prop("muted",false)
// html+='<video 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 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>'
}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>'
}
}else{
// if(e==1){
// history.pushState(null,null,'liveRoom.html?roomId='+sessionStorage.roomId+'&v=2023050801');
// $(".sound-btn").attr("data-type",1)
// $(".sound-btn").attr("src","images/sound-yes.png")
// $(".gift-btn").attr("src","images/gift-btn.png")
// $(".video-box video").prop("muted",false)
// // html+='<video 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 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>'
// }
// else
$(".sound-tips").show()
$(".sound-btn").attr("src","images/sound-no.png")
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>'
......
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