PageSourceSearch

https://lyricvideotemplates.com/wp-content/plugins/product-Info-fo…/frontend/js/video-intro.js?ver=1791588156

js lyricvideotemplates.com collected 2026-10-09 23:23:42 UTC 3,730 bytes, 72 lines download raw bytes

1jQuery(document).ready(function($){
2    var video_intro = {
3        init: function(){
4            $(".video_intro_product").hover(this.over, this.out);
5            $('.video_intro_product').on('touchstart', function (e) { 
6                this.over
7            })
8            $('.video_intro_product').on('touchend', function (e) { 
9                this.out
10            })
11        },
12        over: function (e){
13
14            $(".video-intro-container-video").removeClass("hidden");
15            var offset = $(this).offset();
16            var left = offset.left;
17            var top = offset.top;
18            var height = $(this).height();
19            var width = $(this).width();
20            var container_height = $(".video-intro-container-video").outerHeight();
21            var container_width = $(".video-intro-container-video").outerWidth();
22            var window_with = $( window ).width();
23            /*
24            *
25            */
26            var container = $(".video-intro-container-video");
27            var data = $(this).find(".video-intro-data");
28            var price =  data.data("price" );
29            var title = data.data("title" );
30            var cat = data.data("cat" );
31            var src = data.data("src" );
32            var type = data.data("type" );
33            container.find(".video-intro-price").html(price);
34            container.find(".video-intro-title").html(title);
35            container.find(".video-intro-category").html(cat);
36            /*
37            * Video Youtube
38            */
39            if( type == "youtube" ) {
40                $(".video-intro-container-video .video-intro-video-image").html('<iframe class="mfp-iframe" src="//www.youtube.com/embed/'+src+'?autoplay=1&loop=1&mute=1" frameborder="0" allowfullscreen=""></iframe>');
41            }else if( type == "mp4") {
42                $(".video-intro-container-video .video-intro-video-image").html('<video autoplay loop playsinline muted controls><source src="'+src+'" type="video/mp4">Your browser does not support HTML5 video.</video>');
43            } else if( type == "map" ) {
44                $(".video-intro-container-video .video-intro-video-image").html('<iframe class="mfp-iframe" src="//maps.google.com/maps?q='+src+'&output=embed&hl=en&t=v&hnear='+src+'" frameborder="0" allowfullscreen=""></iframe>');
45            }else if( type == "vimeo") {
46                $(".video-intro-container-video .video-intro-video-image").html('<iframe class="mfp-iframe" src="//player.vimeo.com/video/'+src+'?autoplay=1&loop=1&title=0&byline=0&portrait=0&muted=1" frameborder="0" allowfullscreen=""></iframe>');
47            }else {
48                $(".video-intro-container-video .video-intro-video-image").html('<img src="'+src+'" alt="">');
49            }
50            console.log(object_name.full);
51            if( object_name.full == 1 ){
52                $(".video-intro-container-video").css("left","0" );
53                $(".video-intro-video-image, .video-intro-container-video").css("width","100%" );
54            }else{
55                if( window_with > ( left  + width + container_width ) ) {
56                    $(".video-intro-container-video").css("left",left  + width );
57                }else{
58                    $(".video-intro-container-video").css("left",left  - container_width );
59                }
60            }
61
62            
63            $(".video-intro-container-video").css("top",( top  + height ) - container_height  );
64
65        },
66        out : function(e){
67            $(".video-intro-container-video").addClass("hidden");
68            $(".video-intro-container-video .video-intro-video-image").html("");
69        }
70    }
71    video_intro.init();
72})

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.