1// Last kun hls.js hvis det finnes <video> på siden 2// Kjøres med defer - DOM er klar når dette scriptet kjøres 3(function() { 4 var videos = document.querySelectorAll('video'); 5 6 if (videos.length > 0) { 7 if (typeof Hls === 'undefined') { 8 var script = document.createElement('script'); 9 script.src = "/assets/js/hls.js"; 10 script.onload = function() { 11 document.dispatchEvent(new Event('hlsjs:ready')); 12 }; 13 document.head.appendChild(script); 14 } 15 } 16})();
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.