1/** @format */ 2 3document.addEventListener('DOMContentLoaded', () => { 4 var aboutVideo = document.getElementById('about-info-video'); 5 if (aboutVideo) { 6 aboutVideo.addEventListener('keydown', function (event) { 7 // Check if the key pressed is "Enter" (key code 13) or "Spacebar" (key code 32) 8 if (event.key === 'Enter' || event.key === ' ') { 9 event.preventDefault(); // Prevent default action for spacebar to avoid scrolling 10 aboutVideo.click(); // Programmatically click the video element 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.