PageSourceSearch

https://uz.zgora.pl/themes/_system/bootstrap4/js/3.colorboxVideo.js

js uz.zgora.pl collected 2026-09-24 09:02:39 UTC 1,817 bytes, 47 lines download raw bytes

1$(document).ready(function () {
2    var window = $("body").innerWidth();
3    $(".youtube-link").each(function () {
4        $(this).attr("href").match(/youtube\.com/gim) ? $(this).addClass("youtube") : $(this).attr("href").match(/vimeo\.com/gim) && $(this).addClass("vimeo")
5    }), $.fn.colorbox && ($("a.lightbox").colorbox({
6        current: "{current} / {total}",
7        width: "auto",
8        height: "auto",
9        maxWidth: "90%",
10        maxHeight: "90%",
11        previous: prevPic,
12        next: nextPic,
13        close: closePic
14    }), window < 1024 && window >= 500 ? ($(".youtube").colorbox({
15        iframe: !0,
16        width: "75%",
17        height: "75%",
18        href: function () {
19            var e = new RegExp("[\\?&]v=([^&#]*)").exec(this.href);
20            if (e && e[1]) return "http://youtube.com/embed/" + e[1] + "?rel=0&wmode=transparent"
21        }
22    }), $(".vimeo").colorbox({
23        iframe: !0,
24        width: "75%",
25        height: "75%",
26        href: function () {
27            var e = new RegExp(/^https?:\/\/(?:www\.|)vimeo\.com\/(\d+)$/i).exec(this.href);
28            if (e && e[1]) return "https://player.vimeo.com/video/" + e[1]
29        }
30    })) : window >= 1024 && ($(".youtube").colorbox({
31        iframe: !0,
32        width: 640,
33        height: 390,
34        href: function () {
35            var e = new RegExp("[\\?&]v=([^&#]*)").exec(this.href);
36            if (e && e[1]) return "http://youtube.com/embed/" + e[1] + "?rel=0&wmode=transparent"
37        }
38    }), $(".vimeo").colorbox({
39        iframe: !0,
40        width: 640,
41        height: 390,
42        href: function () {
43            var e = new RegExp(/^https?:\/\/(?:www\.|)vimeo\.com\/(\d+)$/i).exec(this.href);
44            if (e && e[1]) return "https://player.vimeo.com/video/" + e[1]
45        }
46    })));
47});

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.