1document.addEventListener("DOMContentLoaded", function () { 2 const embedContainers = document.querySelectorAll(".embed-container .play-video"); 3 for (let i = 0; i < embedContainers.length; i++) { 4 embedContainers[i].addEventListener("click", function () { 5 const iframe = this.parentNode.parentNode.querySelector("iframe"); 6 if (iframe.src.indexOf("?autoplay=1") > -1) { 7 // do something 8 } else { 9 iframe.src += "?&autoplay=1"; 10 this.parentNode.classList.add("play"); 11 } 12 }); 13 } 14});
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.