PageSourceSearch

https://thoughtleadershipleverage.com/wp-content/plugins/responsive-embed-videos/js/rev.js?ver=0.0.1

js thoughtleadershipleverage.com collected 2026-10-02 05:19:01 UTC 1,013 bytes, 27 lines download raw bytes

1jQuery(document).ready(function($){
2    
3    function rev_resize(){
4        $('.rev-video-iframe').each(function(index) {
5            var $rev_video_iframe = $(this);
6            var container_width = $rev_video_iframe.parent().width();
7            var video_width_perc = $rev_video_iframe.attr('revwidth').replace('%', '');
8            var video_width = video_width_perc * container_width / 100;
9            var iframe_ratio = $rev_video_iframe.attr('revratio').split('/');
10            var iframe_ratio_w = parseInt(iframe_ratio[0]);
11            var iframe_ratio_h = parseInt(iframe_ratio[1]);
12            var iframe_ratio_dec = iframe_ratio_w / iframe_ratio_h;
13            var video_height = video_width / iframe_ratio_dec;
14            $rev_video_iframe.attr('width', video_width);
15            $rev_video_iframe.attr('height', video_height);
16        });
17    }
18    
19    $(window).ready( function() {
20        rev_resize();
21    });
22    
23    $(window).on('resize', function() {
24        rev_resize();
25    })
26    
27});

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.