PageSourceSearch

https://www.momsintofitness.com/wp-content/plugins/video_popup_sho…?sdffdsfds=dfsdfs&ver=7.1.1

js momsintofitness.com collected 2026-09-24 12:45:08 UTC 2,147 bytes, 51 lines download raw bytes

1jQuery(document).ready(function($) {
2    if (typeof window.popup_video_size === 'undefined') {
3		window.popup_video_size = function(wrap_id) {		
4				
5				$( ".vps_content" ).each(function() {
6				  var current_iframe_width = $(this).width();
7				  var new_height = current_iframe_width*9/16;
8				  $('iframe',this).width(current_iframe_width);
9				  $('iframe',this).height(new_height);
10				});
11		}
12	}
13
14	$( window ).resize(function() {
15	    popup_video_size();
16	});
17	
18    $(document).on("click", '.vps_popup_off', function (event) { event.stopPropagation(event); $('.vps_content').html(''); $(this).parent().parent().parent().parent().removeClass('on'); });
19    
20    $(document).on("click", '.vps_video_popup_wrap', function (event) {  event.stopPropagation(event); });
21    
22    $(document).on("click", '.vps_popup_block', function (event) {  event.stopPropagation(event); $(this).parent().removeClass('on'); $('.vps_content').html(''); });
23
24    $(document).on("click", '.play_mod_video', function (event) {
25        var data_popup_id =  $(this).attr("data-popup-id");
26        var data_src      =  $(this).attr("data-src");
27        var embed         = "<iframe src='"+data_src+"'></iframe>";
28        $(data_popup_id).parent().parent().show();
29        $(data_popup_id).html(embed);
30        popup_video_size(data_popup_id);
31    });
32    
33    $(document).on("click", '.video_popup_wrap', function (event) {
34	    if ($(this).hasClass('has_embed')) { return; }
35	    if ($(this).hasClass('on')) { return; }
36	    $(this).addClass('on');
37        var data_src      =  $(this).attr("data-src"); 
38        var youtube_id    =  $(this).attr("data-youtube-id");
39        var embed         = "<iframe src='"+data_src+"'></iframe>";
40        $('.vps_content',this).html(embed);
41        popup_video_size();
42    });
43    
44    $(document).on("click", '.click_thumb', function (event) {
45        var data_src      =  $(this).attr("data-the-embed");
46        var embed         = "<iframe class='vps_embeded_iframe' src='"+data_src+"'  allow='autoplay; fullscreen'></iframe>";
47        $(this).html(embed);
48        $(this).parent().css('background-image', 'none');
49
50    });
51});

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.