Created
July 24, 2018 00:37
-
-
Save ahornby123/5fedd6538c67fd7e1d30a2e5c00a4f40 to your computer and use it in GitHub Desktop.
Enabling Audio of Youtube video
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;(function($) { | |
if( $('.galleryid-20').length ) { | |
var email1 = 'David@droneonyorkshire.com'; | |
var email2 = 'Alex@droneonyorkshire.com'; | |
$('.galleryid-20 .gallery-item:nth-of-type(1)').find('.gallery-icon').wrapInner('<a href="mailto:' + email1 + '"></a>'); | |
$('.galleryid-20 .gallery-item:nth-of-type(2)').find('.gallery-icon').wrapInner('<a href="mailto:' + email2 + '"></a>'); | |
} | |
})(jQuery); | |
jQuery(function($) { | |
$('.wp-custom-header video').prop('muted', false); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment