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

22 lines
385 B
JavaScript
Raw Normal View History

2021-03-01 09:56:10 +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);