Commit c04de364 by libai

测试

parent e981c455
Showing with 6 additions and 3 deletions
...@@ -1468,15 +1468,18 @@ $(function () { ...@@ -1468,15 +1468,18 @@ $(function () {
flvPlayer.attachMediaElement(videoElement); flvPlayer.attachMediaElement(videoElement);
flvPlayer.load(); //加载 flvPlayer.load(); //加载
$("body").on("click ",function(){ $("body").on("click",function(){
if(mutedOk==false)return; if(mutedOk==false)return;
mutedOk=false mutedOk=false
$("#videoElement").prop('muted', false) $("#videoElement").prop('muted', false)
flvPlayer.play() flvPlayer.play()
}) })
setTimeout(function(){ $("window").on("scroll",function(){
if(mutedOk==false)return;
mutedOk=false
$("#videoElement").prop('muted', false)
flvPlayer.play() flvPlayer.play()
}, 1000); })
} }
......
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