1jQuery(document).ready(function($) { 2 $('.wpm-title a.wpm-overlay, .wpm-img a.wpm-overlay').magnificPopup({ 3 type:'iframe', 4 iframe: { 5 markup: 6 '<div class="mfp-iframe-scaler">'+ 7 '<div class="mfp-close"></div>'+ 8 '<iframe class="mfp-iframe" frameborder="0" allowfullscreen allow="vr"></iframe>'+ 9 '</div>' 10 }, // HTML markup of popup, `mfp-close` will be replaced by the close button 11 disableOn: function() { 12 if($(window).width() < 600) { 13 return false; 14 } 15 return true; 16 } 17 }); 18 19 $('.wpm-embedded').click(function(e) { 20 e.preventDefault(); 21 $(this).parent().html('<div class="wpm-embed" style="max-width: ' + $(this).width() + 'px; max-height: ' + $(this).height() + 'px"><iframe src="' + $(this).data('src') + '" frameborder="0" allowfullscreen allow="vr"></iframe></div>') 22 }); 23});
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.