PageSourceSearch

https://www.lockncharge.com/hubfs/hub_generated/template_assets/1/…/1789485741446/template_video-popup.min.js

js lockncharge.com collected 2026-09-29 06:09:49 UTC 2,226 bytes, 2 lines download raw bytes

1document.querySelectorAll(".alt_cardVideo").forEach(function(alt_cardVideo){alt_cardVideo.addEventListener("click",function(){var alt_dtPopup=alt_cardVideo.getAttribute("alt-data-popup-id"),alt_popupElement=document.getElementById(alt_dtPopup),altVideoTag=document.getElementById("video-"+alt_dtPopup);alt_popupElement&&(alt_popupElement.style.display="block",altVideoTag.setAttribute("autoplay","autoplay"),altVideoTag.play())})}),document.querySelectorAll(".alt_cardpopVideo .close").forEach(function(alt_closeButton){var alt_popVideo=document.querySelectorAll(".alt_cardVideoPopup video");alt_closeButton.addEventListener("click",function(){document.querySelectorAll(".alt_cardVideoPopup").forEach(function(alt_cardVideoPopup){alt_cardVideoPopup.style.display="none",alt_popVideo.forEach(function(alt_popVideoo){alt_popVideoo.setAttribute("autoplay",""),alt_popVideoo.pause()})})})}),document.querySelectorAll(".cardVideo").forEach(function(cardVideo){var dtPopup=cardVideo.getAttribute("data-popup-id"),popupVideoTag=document.getElementById("video-"+dtPopup),popupElement=document.getElementById(dtPopup);console.log(popupElement);var innerVideo=document.getElementById("video-embed-"+dtPopup).querySelector("iframe");console.log(innerVideo);var videoSrc=innerVideo.src;cardVideo.addEventListener("click",function(){popupElement&&(popupElement.style.display="block"),popupVideoTag&&(popupVideoTag.setAttribute("autoplay","autoplay"),popupVideoTag.play()),videoSrc&&innerVideo.setAttribute("src",videoSrc)})}),document.querySelectorAll(".cardpopVideo .close").forEach(function(closeButton){var cardpopVideo=document.querySelectorAll(".cardpopVideo video"),cardpopVideoEmbed=document.querySelectorAll(".cardpopVideo .video-embed-wrapper iframe");closeButton.addEventListener("click",function(){document.querySelectorAll(".cardVideoPopup").forEach(function(cardVideoPopup){cardVideoPopup.style.display="none",cardpopVideo.forEach(function(vid){vid.setAttribute("autoplay",""),vid.pause()}),cardpopVideoEmbed.forEach(function(vid){vid.setAttribute("src","")})})})});
2//# sourceURL=https://23885715.fs1.hubspotusercontent-na1.net/hubfs/23885715/hub_generated/template_assets/1/164057976163/1789485741446/template_video-popup.js

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.