Commit 9b024868 by libai

测试

parent e9ff6dee
Showing with 1 additions and 10 deletions
...@@ -776,16 +776,7 @@ $(function(){ ...@@ -776,16 +776,7 @@ $(function(){
} }
}) })
$("#myVideo").on("volumechange",function(){
layer.msg("改变音量了")
setTimeout(function(){
soundOk=true
$(".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)
},500)
})
$("body").on("click",function(){ $("body").on("click",function(){
if(soundOk==true)return; if(soundOk==true)return;
soundOk=true soundOk=true
......
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