Last active
September 20, 2016 15:00
-
-
Save delowardev/b48be03b7e46622c7410a1ff463251db 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