1 2 function loadBrightCoveScript(){ 3 let brightcove_videos = document.querySelectorAll('.iframe-col .video-js'); 4 5 brightcove_videos.forEach((brightcove_video) => { 6 const accountId = brightcove_video.getAttribute('data-account'); 7 8 if (!brightcove_video.parentNode.querySelectorAll(`script[src*="${accountId}/default_default/index.min.js"]`).length) { 9 let script = document.createElement("script"); 10 // script.async = true; 11 script.src = "https://players.brightcove.net/" + accountId + "/default_default/index.min.js"; 12 brightcove_video.parentNode.insertBefore(script, brightcove_video.nextSibling) 13 } 14 }) 15; 16 } 17 18 19 if (document.readyState === 'complete') { 20 loadBrightCoveScript(); 21 } else { 22 document.addEventListener('DOMContentLoaded', loadBrightCoveScript); 23 } 24
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.