Commit 08f59bcc by libai

测试

parent a03f2928
Showing with 9 additions and 8 deletions
...@@ -852,15 +852,9 @@ $(function(){ ...@@ -852,15 +852,9 @@ $(function(){
moreMc() moreMc()
return; return;
} }
giftList(1) 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>'
online()
WebSocketGo()
// object-fit:fill
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=" height:100%; object-fit:fill;position: absolute;z-index: 10" poster="" src="'+data.pullFlowUrlHLS+'"></video>'
$(".video-box").html(html) $(".video-box").html(html)
document.getElementById('myVideo').play();
$(".sound-btn").unbind("click").on("click",function(){ $(".sound-btn").unbind("click").on("click",function(){
var _self=$(this) var _self=$(this)
if(_self.attr("data-type")==1){ if(_self.attr("data-type")==1){
...@@ -874,6 +868,13 @@ $(function(){ ...@@ -874,6 +868,13 @@ $(function(){
} }
}) })
giftList(1)
online()
WebSocketGo()
// object-fit:fill
// console.log($("#myVideo").css("height")) // console.log($("#myVideo").css("height"))
var html=[]; var html=[];
html+='<img class="room-mc-face" src="https://zhibocdn.yabolive.net/comm'+data.room.face.split('?')[0]+'?x-oss-process=image/resize,w_80" alt="">'; html+='<img class="room-mc-face" src="https://zhibocdn.yabolive.net/comm'+data.room.face.split('?')[0]+'?x-oss-process=image/resize,w_80" alt="">';
......
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