PageSourceSearch

https://www.inail.it/etc.clientlibs/alma-inail-hub-foundation/comp…-b3f794c2a409a489abb062e2c2c230c8-lc.min.js

js inail.it collected 2026-10-01 08:44:36 UTC 6,220 bytes, 156 lines download raw bytes

1$(document).ready(function () {
2    //console.log("Agganciato")
3
4    let prevArrow = $("#slider-1124354975").find(".splide__arrow--prev")
5    let nextArrow = $("#slider-1124354975").find(".splide__arrow--next")
6    let paginationTab = $("#slider-1124354975").find(".splide__pagination__page")
7    let sliderPlay = $("#slider-1124354975").find(".splide__play")
8    let sliderPause = $("#slider-1124354975").find('.splide__pause')
9    let slider = $("[id*=slider-1124354975-slide]")
10    //console.log("Slider con id: ", sliderPlay)
11
12
13    //debugger;
14    $(slider).each(function (index) {
15        //debugger;
16        //console.log("Slider singolo: ", index, $(this))
17        let video = $(this).find('.embed-responsive-item')
18        let iframeSrc = video.attr('src');
19        let playButton = $(this).find('.playVideo')
20
21        if ($(video).hasClass('my-player') || $(video).hasClass('mejs') || $(video).hasClass('dashPlayer')) {
22            $(playButton).on('click', function () {
23                $(playButton).hide()
24                $(video).get(0).play()
25                $(sliderPause).click()
26            })
27
28            $(video).on('play', function () {
29                $(playButton).hide()
30            })
31
32            $(video).on('pause', function () {
33                $(playButton).show()
34            })
35        }
36
37        $(video).on('click', function () {
38            $(sliderPause).click()
39        })
40
41        window.focus(); //force focus on the currenct window;
42        window.addEventListener('blur', function (e) {
43            //console.log("Active element: ", index, document.activeElement)
44            //console.log("Video element: ", index, video)
45            //debugger;
46            if ($(document.activeElement).attr('class') == $(video).attr('class')) {
47                $(sliderPause).click()
48            }
49        });
50
51        //console.log("Each: ", video)
52        if ($(video).hasClass('mejs') || $(video).hasClass('my-player')) {
53            $(video).on('play', function () {
54                //console.log('Play')
55                if (!video.get(0).paused) {
56                    //console.log('il video è in play')
57                    $(nextArrow).on('click', function () {
58                        //console.log('click next')
59                        $(video).get(0).pause()
60                        $(video).get(0).currentTime = 0
61                        $(video).get(0).pause()
62                    })
63                    $(prevArrow).on('click', function () {
64                        //console.log('click prev')
65                        $(video).get(0).pause()
66                        $(video).get(0).currentTime = 0
67                        $(video).get(0).pause()
68                    })
69                    $(paginationTab).on('click', function () {
70                        //console.log('click next')
71                        $(video).get(0).pause()
72                        $(video).get(0).currentTime = 0
73                        $(video).get(0).pause()
74                    })
75                    $(sliderPlay).on('click', function () {
76                        //console.log('click play')
77                        $(video).get(0).pause()
78                        $(video).get(0).currentTime = 0
79                        $(video).get(0).pause()
80                    })
81                }
82            })
83        } else if ($(video).hasClass('dashPlayer')) {
84            let videoDash = videojs(video.get(0).id)
85            //console.log('il video è in play')
86            $(nextArrow).on('click', function () {
87                //console.log('click next')
88                videoDash.pause()
89                videoDash.resetControlBarUI_()
90                videoDash.pause()
91            })
92            $(prevArrow).on('click', function () {
93                //console.log('click prev')
94                videoDash.pause()
95                videoDash.resetControlBarUI_()
96                videoDash.pause()
97            })
98            $(paginationTab).on('click', function () {
99                //console.log('click next')
100                videoDash.pause()
101                videoDash.resetControlBarUI_()
102                videoDash.pause()
103            })
104            $(sliderPlay).on('click', function () {
105                //console.log('click play')
106                videoDash.pause()
107                videoDash.resetControlBarUI_()
108                videoDash.pause()
109            })
110        }else if ($(video).hasClass('youtube') || $(video).hasClass('vimeo')) {
111            $(prevArrow).on('click', function () {
112                //debugger
113                video.attr('src', '')
114                video.attr('src', iframeSrc)
115            })
116            $(nextArrow).on('click', function () {
117                //debugger
118                video.attr('src', '')
119                video.attr('src', iframeSrc)
120            })
121            $(paginationTab).on('click', function () {
122                //debugger
123                video.attr('src', '')
124                video.attr('src', iframeSrc)
125            })
126            $(sliderPlay).on('click', function () {
127                //debugger
128                video.attr('src', '')
129                video.attr('src', iframeSrc)
130            })
131        } else if ($(video).hasClass('azure')) {
132            amp('azure').ready(function () {
133                let myPlayer = this
134                //console.log('player azure', index, myPlayer)
135                myPlayer.addEventListener('playing', function () {
136                    //console.log("azure player playing")
137                    if (!video.get(0).paused) {
138                        //console.log("azure player playing 2")
139                        $(prevArrow).on('click', function () {
140                            myPlayer.pause()
141                        })
142                        $(nextArrow).on('click', function () {
143                            myPlayer.pause()
144                        })
145                        $(paginationTab).on('click', function () {
146                            myPlayer.pause()
147                        })
148                        $(sliderPlay).on('click', function () {
149                            myPlayer.pause()
150                        })
151                    }
152                })
153            })
154        }
155    })
156})

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.