diff --git a/modules/ad_banner/_ad_banner_widget2_video.html.erb b/modules/ad_banner/_ad_banner_widget2_video.html.erb index 8d3b0e6..49fa737 100644 --- a/modules/ad_banner/_ad_banner_widget2_video.html.erb +++ b/modules/ad_banner/_ad_banner_widget2_video.html.erb @@ -60,7 +60,7 @@ if ($video.length>0){ $(ele).jPlayer("mute", !$(ele).data().jPlayer.options.muted); }else{//youtube - console.log('control youtube audio'); + $(ele).find('iframe').data("yt_player").unmute(); } }) $(ele).append(audio_div);