diff --git a/modules/ad_banner/_ad_banner_widget2_video.html.erb b/modules/ad_banner/_ad_banner_widget2_video.html.erb index 08eb198..5b94332 100644 --- a/modules/ad_banner/_ad_banner_widget2_video.html.erb +++ b/modules/ad_banner/_ad_banner_widget2_video.html.erb @@ -45,10 +45,11 @@ }else{ var audio_div; if ($self.hasClass('have-audio')){ - audio_div = $('" class="jarallax-video-audio">" aria-hidden="true">'); + audio_div = $('" class="jarallax-video-audio">" aria-hidden="true"><%= I18n.t("ad_banner.muted") %>'); }else{ - audio_div = $('" class="jarallax-video-audio">" aria-hidden="true">'); + audio_div = $('" class="jarallax-video-audio">" aria-hidden="true"><%= I18n.t("ad_banner.unmuted") %>'); } + audio_div.find('p').css('display','none'); //fix CSP audio_div.click(function(event) { var currentTime = new Date(); if (ad_trigger_time&¤tTime-ad_trigger_time<500){
<%= I18n.t("ad_banner.muted") %>
<%= I18n.t("ad_banner.unmuted") %>