fix error

This commit is contained in:
邱博亞 2021-11-15 14:26:59 +08:00
parent b764d2e4af
commit 2a56b10faa
1 changed files with 6 additions and 0 deletions

View File

@ -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;