-
-
Save xrman/9e9e3e91e6dcaf773a0bead37bf0f6bb to your computer and use it in GitHub Desktop.
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
Demo & Download Link: http://dimsemenov.com/plugins/magnific-popup/ | |
01. Youtube video >> | |
// html markup | |
<a href="http://www.youtube.com/watch?v=0O2aH4XLbto" class="videoBtn">Watch Video</a> | |
// javascript | |
jQuery(document).ready(function(){ | |
$('.videoBtn').magnificPopup({ | |
disableOn: 0, | |
type: 'iframe', | |
mainClass: 'mfp-fade', | |
removalDelay: 160, | |
preloader: true, | |
fixedContentPos: false | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment