1const video = document.querySelector('video'); 2const playPauseBtn = document.getElementById("play-pause-button"); 3 4function togglePlayPause() { 5 if (video.paused) { 6 video.play(); 7 playPauseBtn.textContent = "Pause"; 8 } else { 9 video.pause(); 10 playPauseBtn.textContent = "Play"; 11 } 12}
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.