PageSourceSearch

https://www.crextremadura.com/themes/custom/bootstrap_barrio_subtheme/js/video-embed-iframe.js?1790962540

js crextremadura.com collected 2026-10-04 23:02:13 UTC 562 bytes, 22 lines download raw bytes

1(function ($) {
2    function convertVideoDiv() {
3    $('[data-video-iframe]').each(function() {
4      if (this.tagName.toLowerCase() === 'div') {
5        let $div = $(this);
6        let iframe = $('<iframe />');
7        
8        $.each(this.attributes, function(i, attrib){
9          if(attrib.name !== 'data-video-iframe') {
10            iframe.attr(attrib.name, attrib.value);
11          }
12        });
13        
14        $div.replaceWith(iframe);
15      }
16    });
17  }
18  
19  $(document).ready(convertVideoDiv);
20  $(window).on('load', convertVideoDiv);
21  
22})(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.