1;((doc) => { 2 function addToggleVideoPlay() { 3 const coverMaskList = doc.querySelectorAll('.cover-mask') 4 5 coverMaskList.forEach((coverMask) => { 6 const video = coverMask.nextElementSibling; 7 8 coverMask.addEventListener('click', () => { 9 coverMask.style.display = 'none'; 10 video.setAttribute('controls', ''); 11 video.play(); 12 }) 13 14 video.addEventListener('click', () => { 15 if (!video.paused && !doc.fullscreenElement) { 16 video.pause(); 17 coverMask.style.display = 'block'; 18 video.removeAttribute('controls'); 19 } 20 }) 21 }) 22 } 23 24 addToggleVideoPlay(); 25})(document);
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.