PageSourceSearch

https://digbihealth.com/cdn/shop/t/27/assets/video-popup-2022.js?v=15943019085497098601682536500

js digbihealth.com collected 2026-10-01 15:25:46 UTC 2,779 bytes, 2 lines download raw bytes

1(function($){$.fn.videoPopup=function(options){var videoPopup={embedLink:""},settings=$.extend({autoplay:!1,showControls:!0,controlsColor:null,loopVideo:!1,showVideoInformations:!0,width:null,customOptions:{}},options),parsers={youtube:{regex:/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#\&\?]*).*/,test:function(videoUrl,regex){var match=videoUrl.match(regex);return match&&match[7].length==11?match[7]:!1},mount:function(videoCode){var youtubeOptions={autoplay:settings.autoplay,color:settings.controlsColor,loop:settings.loopVideo,controls:settings.showControls,showinfo:settings.showVideoInformations};return Object.assign(youtubeOptions,settings.customOptions),"https://www.youtube.com/embed/"+videoCode+"/?"+$.param(youtubeOptions)}},vimeo:{regex:/^.*(vimeo\.com\/)((channels\/[A-z]+\/)|(groups\/[A-z]+\/videos\/))?([0-9]+)/,test:function(videoUrl,regex){var match=videoUrl.match(regex);return match&&match[5].length?match[5]:!1},mount:function(videoCode){var vimeoOptions={autoplay:settings.autoplay,color:settings.controlsColor,loop:settings.loopVideo,controls:settings.showControls,title:settings.showVideoInformations};return Object.assign(vimeoOptions,settings.customOptions),"https://player.vimeo.com/video/"+videoCode+"/?"+$.param(vimeoOptions)}}};function mountEmbedLink(videoUrl){$.each(parsers,function(index,parser){var videoCode=parser.test(videoUrl,parser.regex);if(videoCode)return videoPopup.embedLink=parser.mount(videoCode),this})}function mountIframe(){var iframeElement='<iframe src="'+videoPopup.embedLink+'" allowfullscreen frameborder="0" width="'+settings.width+'"></iframe>';return videoPopup.embedLink||(iframeElement='<div class="videopopupjs__block--notfound">Video not found</div>'),'<div class="videopopupjs videopopupjs--animation"><div class="videopopupjs__content"><span class="videopopupjs__close"></span>'+iframeElement+"</div></div>"}return $(this).css("cursor","pointer"),$(this).on("click",function(event){event.preventDefault();var videoUrl=$(this).attr("video-url");videoUrl||(videoUrl=$(this).attr("href"));var videoIframe=mountEmbedLink(videoUrl);$("body").append(mountIframe()),$(".videopopupjs__content").css("max-width",700),settings.width&&$(".videopopupjs__content").css("max-width",settings.width),$(".videopopupjs").hasClass("videopopupjs--animation")&&setTimeout(function(){$(".videopopupjs").removeClass("videopopupjs--animation")},200),$(".videopopupjs, .videopopupjs__close").click(function(){$(".videopopupjs").addClass("videopopupjs--hide").delay(515).queue(function(){$(this).remove()})})}),$(document).keyup(function(event){event.keyCode==27&&$(".videopopupjs__close").click()}),this}})(jQuery);
2//# sourceMappingURL=/cdn/shop/t/27/assets/video-popup-2022.js.map?v=15943019085497098601682536500

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.