Base theme for LMMI Journal
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

17 lines
537 B

(function ($, Drupal, drupalSettings) {
Drupal.behaviors.mtMagnificPopupFieldVideo = {
attach: function (context, settings) {
$(context).find('.iframe-popup > a').once('mtMagnificPopupFieldVideoInit').magnificPopup({
disableOn: 700,
type: "iframe",
mainClass: "mfp-fade",
removalDelay: 160,
preloader: false,
fixedContentPos: false,
gallery: {
enabled: true, // set to true to enable gallery
}
});
}
};
})(jQuery, Drupal, drupalSettings);