fix error

This commit is contained in:
邱博亞 2021-11-14 12:54:12 +08:00
parent 443faf79b0
commit ca6bb7a6f9
1 changed files with 3 additions and 1 deletions

View File

@ -178,14 +178,16 @@
var jpalyer_video = $(ele).parents('.jp-video').eq(0);
jpalyer_video.find(".jp-gui").css("display","");
jpalyer_video.addClass('hide-ui');
<% if @hide_video_tools %>
ad_audio_button(ele,false);
<% end %>
}
function show_jplayer_ui_<%= i %>(ele) {
<% unless @hide_video_tools %>
var jpalyer_video = $(ele).parents('.jp-video').eq(0);
jpalyer_video.removeClass('hide-ui');
ad_audio_button(ele,true);
<% end %>
ad_audio_button(ele,true);
}
function click_jplayer_<%= i %>(){
$("#jp_container_<%= i %> .jp-video-play").css('display','')