1 2 $('#iframe').html(function(i,v){ 3 var id = v.split('youtu.be/')[1]; // get the id so you can add to iframe 4 if(id != undefined){ 5 return '<iframe height="189" frameborder="0" width="100%" src="https://www.youtube.com/embed/' + id + '"></iframe>'; 6 } 7 id = v.split('vimeo.com/')[1]; // get the id so you can add to iframe 8 return '<iframe height="189" frameborder="0" width="100%" src="//player.vimeo.com/video/' + id + '" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>'; 9 }); 10 11
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.