Created
February 20, 2018 20:06
-
-
Save shirokoweb/cd6700a1d1bda8e399808ba25e7a9389 to your computer and use it in GitHub Desktop.
YT vids ina modal
This file contains hidden or 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
<script type="text/javascript"> | |
(function($){ | |
$(document).ready(function() { | |
$('.ppyt').magnificPopup({ | |
disableOn: 700, | |
type: 'iframe', | |
mainClass: 'mfp-fade', | |
removalDelay: 160, | |
preloader: false, | |
fixedContentPos: false | |
}); | |
}); | |
})(jQuery) | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment