1jQuery(function ($) { 2 const $containerVideo = $('.stage-video'); 3 const $video = $('#stage-video'); 4 const $playButton = $('.play-button'); 5 6 // Check if device is mobile 7 if (/Mobi|Android/i.test(navigator.userAgent)) { 8 $video.removeAttr('autoplay'); 9 $playButton.show(); 10 $containerVideo.addClass('is-mobile'); 11 12 } else { 13 $video.prop('autoplay', true); 14 $video.prop('muted', true); 15 $video.prop('controls', false); 16 } 17 18 $playButton.on('click', function () { 19 $video.get(0).play(); 20 $playButton.hide(); 21 }); 22 23});
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.