Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $('.popup-youtube, .popup-vimeo, .popup-gmaps').magnificPopup({
- disableOn: 700,
- type: 'iframe',
- mainClass: 'mfp-fade',
- removalDelay: 160,
- preloader: false,
- fixedContentPos: false,
- iframe: {
- patterns: {
- youtube: {
- src: '//www.youtube.com/embed/%id%?autoplay=1&rel=0&controls=0'
- }
- }
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement