1(function($) { 2'use strict' 3 4 $('.btn-open-video-modal').each(function(e, i) { 5 const target = $(this).data('bs-target') 6 const videoUrl = $(this).data('video-link') 7 const videoUrlAuto = videoUrl + '?autoplay=1' 8 9 $(target).on('shown.bs.modal', function() { 10 $(this).find('iframe').attr('src', videoUrlAuto) 11 }) 12 13 $(target).on('hidden.bs.modal', function () { 14 $(this).find('iframe').removeAttr('src') 15 }) 16 }) 17 18 $('.preview-video-display-hidden').each(function(e, i) { 19 const previewVideo = $(this).find('.elementor-cta__preview-video video') 20 21 $(this).hover( 22 function () { 23 previewVideo.trigger('play') 24 }, 25 function () { 26 previewVideo.trigger('pause') 27 } 28 ) 29 }) 30})(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.