1if (document.querySelector('video')) { 2 const video = document.querySelector('video'); 3 var isIOS = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream; 4 var isSafari = /constructor/i.test(window.HTMLElement) || (function (p) { 5 return p.toString() === "[object SafariRemoteNotification]"; 6 })(!window['safari'] || (typeof safari !== 'undefined' && window['safari'].pushNotification)); 7 8 if (isSafari || isIOS) { 9 var videoSrc = video.getElementsByTagName("SOURCE")[0]; 10 videoSrc.setAttribute('src', videoSrc.getAttribute("src").concat('#t=0.1')); 11 12 if(isIOS) { 13 video.setAttribute('preload', 'metadata'); 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.