Commit 79e2177c by libai

测试

parent 4ed6061e
Showing with 2 additions and 2 deletions
...@@ -680,14 +680,14 @@ $(function () { ...@@ -680,14 +680,14 @@ $(function () {
var html = []; var html = [];
html += '<video controls webkit-playsinline ="true" playsinline ="true" autoplay ="" playsinline="true" class="live-video" src="" id="videoElement" loop="" ></video>'; html += '<video controls webkit-playsinline ="true" playsinline ="true" autoplay ="" playsinline="true" class="live-video" src="" id="videoElement" loop="" ></video>';
$(".live-content-box-left-roombox").html(html) $(".live-content-box-left-roombox").html(html)
flvPlay(data.pullFlowUrl) flvPlay(data.pullFlowUrl.replace("http","https"))
// Autoplay started! // Autoplay started!
}).catch(error => { }).catch(error => {
var myVideo=document.querySelector(".live-video") var myVideo=document.querySelector(".live-video")
var html = []; var html = [];
html += '<video controls webkit-playsinline ="true" muted playsinline ="true" autoplay ="" playsinline="true" class="live-video" src="" id="videoElement" loop="" ></video>'; html += '<video controls webkit-playsinline ="true" muted playsinline ="true" autoplay ="" playsinline="true" class="live-video" src="" id="videoElement" loop="" ></video>';
$(".live-content-box-left-roombox").html(html) $(".live-content-box-left-roombox").html(html)
flvPlay(data.pullFlowUrl) flvPlay(data.pullFlowUrl.replace("http","https"))
// Autoplay was prevented. // Autoplay was prevented.
// Show a "Play" button so that user can start playback. // Show a "Play" button so that user can start playback.
......
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