fix error

This commit is contained in:
邱博亞 2021-11-14 13:14:32 +08:00
parent 4bea142d2a
commit c62dedbcb3
1 changed files with 2 additions and 2 deletions

View File

@ -229,7 +229,7 @@
ad_call_on_play_jplayer_<%= i %>(this); ad_call_on_play_jplayer_<%= i %>(this);
jplayer_center_video_front($(this).find('video')); jplayer_center_video_front($(this).find('video'));
<% if @hide_video_tools %> <% if @hide_video_tools %>
ad_audio_button(ele,false); ad_audio_button(this,false);
<% end %> <% end %>
}, },
click: function(){ click: function(){
@ -240,7 +240,7 @@
$(this).jPlayer("pause"); $(this).jPlayer("pause");
ad_call_on_pause_jplayer_<%= i %>(this); ad_call_on_pause_jplayer_<%= i %>(this);
window.console.log("pause"); window.console.log("pause");
ad_audio_button(ele,true); ad_audio_button(this,true);
}, },
abort: function(){ abort: function(){
play_<%= i %>_flag = false; play_<%= i %>_flag = false;