JourneyJoker/static/frontend/js/custom-video.js

22 lines
385 B
JavaScript
Raw Normal View History

2020-01-22 17:32:13 +00:00
(function($) {
"use strict";
// Cache Selectors
var mainDocument =$(document),
video =$('.popup-youtube');
//Magnific Video
mainDocument.on('ready', function() {
video.magnificPopup({
disableOn: 700,
type: 'iframe',
mainClass: 'mfp-fade',
removalDelay: 160,
preloader: false,
fixedContentPos: false
});
});
})(jQuery);