1jQuery(document).ready(function(){ 2 3 jQuery('.box-text.box-text-products').find('.my_new_wrapper').remove(); 4 jQuery('.box-text.box-text-products').attr('style',''); 5 jQuery('.my_new_wrapper').prev().remove(); 6 7 jQuery('.fmefvgpopup-btn').on('click', function(e){ 8 "use strict"; 9 e.preventDefault(); 10 var product_id = jQuery(this).attr('id'); 11 var src = jQuery('.fme_fvg_popup'+product_id).attr('src'); 12 var poster = jQuery('.fme_fvg_popup'+product_id).parent().attr('poster'); 13 if (poster=='' || poster==undefined){ 14 poster=''; 15 } 16 src = src.replace("mute=1", "mute=0"); 17 if (src.indexOf('youtube') !== -1 || src.indexOf('vimeo')!==-1 || src.indexOf('dailymotion')!==-1) { 18 jQuery('#fmefvgappend').remove(); 19 jQuery('#fme_pgifw_popupvideo').after('<iframe id="fmefvgappend" style="width:100%" src='+src+' class="fme_fvg_video"></iframe>'); 20 } else { 21 jQuery('#fmefvgappend').remove(); 22 jQuery('#fme_pgifw_popupvideo').after('<video poster="'+poster+'" style="width:100%;" id="fmefvgappend" controls style="width:100%" class="fme_fvg_video"><source src='+src+' type="video/mp4"></video>'); 23 //haseeb changed 24 jQuery('.fme_popup-content').css('width','auto'); 25 jQuery('.fme_popup-content').find('video').css('width','auto'); 26 jQuery('.fme_popup-content').find('video').css('height','auto'); 27 jQuery('.fme_popup-content').find('video').css('max-height','550px'); 28 29 30 } 31 jQuery('.fmefvg_video_popup').css('background-color','rgba(0,0,0, 0.7)'); 32 jQuery('.fmefvg_video_popup').fadeIn('slow'); 33 return false; 34 }); 35 jQuery('.close-btn').on('click', function(){ 36 jQuery('#fmefvgappend').remove(); 37 jQuery('.fmefvg_video_popup').fadeOut('slow'); 38 return false; 39 }); 40 41 42 43});
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.