1 2 3if ($(".js-video").length > 0) { 4 document.addEventListener('DOMContentLoaded', function() { 5 const playButton = document.querySelector('.js-video-btn'); 6 const video = document.querySelector('.js-video'); 7 8 playButton.addEventListener('click', function() { 9 if (video.paused) { 10 video.play(); 11 $('.js-video-btn').hide(); 12 video.setAttribute('controls', 'controls'); // videoã¿ã°ã«controls屿§ãä»ä¸ 13 } 14 }); 15 16 video.addEventListener('ended', function() { 17 $('.js-video-btn').show(); 18 }); 19 }); 20}
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.