From 69d56fcd6afab986276bb6c88eeb8f89839ea66a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B1=E5=8D=9A=E4=BA=9E?= Date: Mon, 15 Nov 2021 14:38:48 +0800 Subject: [PATCH] fix error --- modules/ad_banner/_ad_banner_widget2_video.html.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/ad_banner/_ad_banner_widget2_video.html.erb b/modules/ad_banner/_ad_banner_widget2_video.html.erb index d4e61c6..90618e3 100644 --- a/modules/ad_banner/_ad_banner_widget2_video.html.erb +++ b/modules/ad_banner/_ad_banner_widget2_video.html.erb @@ -61,7 +61,7 @@ if ($video.length>0){ $self.jPlayer("mute", !$self.data().jPlayer.options.muted); }else{//youtube - $self.find('iframe').data("yt_player").unmute(); + $self.find('iframe').data("yt_player").unMute(); } }); $self.append(audio_div); @@ -81,9 +81,9 @@ ad_banners_count++; }) if (typeof onYouTubeIframeAPIReady !== 'function'){ - $(document).on('touchstart',".jarallax-video-audio",function(event){ + /*$(document).on('touchstart',".jarallax-video-audio",function(event){ $(this).trigger('click'); - }); + });*/ if(window.yt_players == undefined) window.yt_players = {}; function onYouTubeIframeAPIReady(){