From 2a56b10faa63ed29ac024984c0b0e5b527f05f49 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:26:59 +0800 Subject: [PATCH] fix error --- modules/ad_banner/_ad_banner_widget2_video.html.erb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/ad_banner/_ad_banner_widget2_video.html.erb b/modules/ad_banner/_ad_banner_widget2_video.html.erb index b5a7024..10c7006 100644 --- a/modules/ad_banner/_ad_banner_widget2_video.html.erb +++ b/modules/ad_banner/_ad_banner_widget2_video.html.erb @@ -66,6 +66,7 @@ }) if (typeof onYouTubeIframeAPIReady !== 'function'){ $(document).on('click touchstart',".jarallax-video-audio",function(event){ + event.stopImmediatePropagation(); event.stopPropagation(); var $self = $(this).parent(); var $video = $self.find('video'); @@ -226,6 +227,11 @@ if (typeof onYouTubeIframeAPIReady !== 'function'){ background-color: rgba(0,0,0,.6); transition: all 1.2s ease; } + @media (max-width: 768px){ + .jarallax-video-audio{ + top: 50%; + } + } .jarallax-video-audio:hover{ color: #FFC500; transition: all 0.6s ease;