Commit 99f68603 by libai

测试

parent bbdf2146
Showing with 5 additions and 1 deletions
......@@ -628,7 +628,7 @@ $(function(){
var html=[];
for(var i=0;i<data.roomList.length;i++){
var list=data.roomList[i]
html+='<a href="room/liveRoom.html?roomId='+list.roomId+'"><li>';
html+='<a href="room/liveRoom.html?roomId='+list.roomId+'&sound=1"><li>';
if(list.liveScope==3&&list.selfLock==1)html+='<img class="secret" src="images/secret-ok.png" alt="">';
else if(list.liveScope==3&&list.selfLock==0)html+='<img class="secret" src="images/secret-no.png" alt="">';
html+='<div class="hot-num-box"><img src="images/hot.png"><span>'+list.onlinenum+'</span></div>';
......
......@@ -687,6 +687,10 @@ $(function(){
}
var soundOk=false
if(mySound==1){
_self.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="height:100%;object-fit:fill;position:absolute;z-index: 10" poster="" src="'+data.pullFlowUrlHLS+'"></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="height:100%;object-fit:fill;position:absolute;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