PageSourceSearch

https://drumandmonkey.co.uk/wp-content/themes/vierra/js/video.resize.js?ver=7.0.7

js drumandmonkey.co.uk collected 2026-10-09 03:36:29 UTC 1,326 bytes, 1 lines download raw bytes

1!function(e){e.fn.fitVids=function(t){var i={customSelector:null},r=document.createElement("div"),a=document.getElementsByTagName("base")[0]||document.getElementsByTagName("script")[0];return r.className="fit-vids-style",r.innerHTML="&shy;<style> .fluid-width-video-wrapper { width: 100%; position: relative; padding: 0; } .fluid-width-video-wrapper iframe, .fluid-width-video-wrapper object, .fluid-width-video-wrapper embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } </style>",a.parentNode.insertBefore(r,a),t&&e.extend(i,t),this.each(function(){var t=["iframe[src*='player.vimeo.com']","iframe[src*='www.youtube.com']","iframe[src*='www.kickstarter.com']","object","embed"];i.customSelector&&t.push(i.customSelector);var r=e(this).find(t.join(","));r.each(function(){var t=e(this);if(!("embed"==this.tagName.toLowerCase()&&t.parent("object").length||t.parent(".fluid-width-video-wrapper").length)){var i="object"==this.tagName.toLowerCase()||t.attr("height")?t.attr("height"):t.height(),r=t.attr("width")?t.attr("width"):t.width(),a=i/r;if(!t.attr("id")){var d="fitvid"+Math.floor(999999*Math.random());t.attr("id",d)}t.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",100*a+"%"),t.removeAttr("height").removeAttr("width")}})})}}(jQuery);

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.