PageSourceSearch

https://associationheadquarters.com/themes/custom/ah/js/video_wrap.js?v=1.x

js associationheadquarters.com collected 2026-09-24 11:21:47 UTC 653 bytes, 18 lines download raw bytes

1jQuery(document).ready(function($){
2    $('iframe').each(function(){
3        //if youtube or vimeo
4        var src = $(this).attr('src');
5        if(typeof src != 'undefined') {
6            if(src.indexOf('youtube.com') > -1 || src.indexOf('vimeo.com') > -1) {
7                $(this).attr('height', '315').attr('width', '560').wrap('<div class="player"></div>');
8            }
9
10            if(src.indexOf('cloudfront.net') > -1) {
11                $(this).attr('height', '400').attr('width', '100%').wrap('<div class="player"></div>');
12            }
13        }
14    });
15
16    // Target your .container, .wrapper, .post, etc.
17    $('.player').fitVids();
18});

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.