PageSourceSearch

https://www.julius-keilwerth.com/wp-content/plugins/tarteaucitron_modulo/assets/iframe_format.js?ver=1.0.0

js julius-keilwerth.com collected 2026-10-02 13:50:53 UTC 1,803 bytes, 38 lines download raw bytes

1jQuery( document ).ready(function() {
2
3    // We look for all iframes still in the page after page load
4    // and if the iframe link match one of our services, we wrap it with our custom container
5    // This is complimentary to the "embed_oembed_html" php filter declared in tarteaucitron_modulo_functions.php
6
7    let root = jQuery('body');
8    let $iframe;
9
10    root.find('iframe').each(function (i, iframe) {
11        $iframe = jQuery(iframe);
12        $wrap = jQuery('');
13        $src = jQuery(iframe).attr('src').split("/");
14        $link = $src[2];
15
16        if ($link == "www.youtube.com" || $link == "youtube.com" || $link == "youtu.be") {
17            $video_ID = $src[4];
18            $render_html = '<div class="iframe-wrap"><div class="youtube_player is-responsive" videoID="' +
19                $video_ID +
20                '" theme="dark" rel="1" controls="1" showinfo="1 autoplay="0" mute="1"></div></div>';
21                $iframe.replaceWith($render_html);
22        } 
23        
24        else if ($link == "www.adforum.com" || $link == "adforum.com") {
25            $video_ID = $src[9];
26            $render_html = '<div class="iframe-wrap"><div class="adforum_player responsive" videoID="' +
27                $video_ID +
28                '" theme="dark" rel="1" controls="1" showinfo="1 autoplay="0" mute="1"></div></div>';
29            $iframe.replaceWith($render_html);
30        } 
31            
32        else if ($link == "embedftv-a.akamaihd.net" || $link == "www.embedftv-a.akamaihd.net") {
33            $video_ID = $src[3];
34            $render_html = '<div class="iframe-wrap"><div class="embedftv_player responsive" videoID="' + $video_ID + '" theme="dark" rel="1" controls="1" showinfo="1 autoplay="0" mute="1"></div></div>';
35            $iframe.replaceWith($render_html);
36        }
37    });
38});

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.