PageSourceSearch

https://theexchangelive.ca/app/site/js/video.min.js?v=1.026

js theexchangelive.ca collected 2026-09-28 12:53:07 UTC 1,843 bytes, 10 lines download raw bytes

1
2function getVideoImg(url,success){var id;if(url.indexOf('youtube.com')>-1){id=url.split('v=')[1].split('&')[0];return(processYouTube(id));}else if(url.indexOf('youtu.be')>-1){id=url.split('/')[1];return processYouTube(id);}else if(url.indexOf('vimeo.com')>-1){if(url.match(/http:\/\/(www\.)?vimeo.com\/(\d+)($|\/)/)){id=url.split('/')[3];}else if(url.match(/^vimeo.com\/channels\/[\d\w]+#[0-9]+/)){id=url.split('#')[1];}else if(url.match(/vimeo.com\/groups\/[\d\w]+\/videos\/[0-9]+/)){id=url.split('/')[4];}else{alert('Unsupported Vimeo URL');}
3$.ajax({url:'http://vimeo.com/api/v2/video/'+id+'.json',dataType:'jsonp',success:function(data){success(data[0].thumbnail_large);}});}else{alert('Unrecognised URL');}
4function processYouTube(id){if(!id){alert('Unsupported YouTube URL');}
5success('http://i2.ytimg.com/vi/'+id+'/hqdefault.jpg');}}
6function getVideoIframe(s_url,i_width,i_height,i_autoplay){if(i_width==''||i_width<1||i_width==undefined){i_width=560;}
7if(i_height==''||i_height<1||i_height==undefined){i_height=315;}
8if(i_autoplay==''||i_autoplay<0||i_autoplay==undefined){i_autoplay=0;}
9var a_url=parse_url(s_url);if(a_url['host']=="youtube.com"||a_url['host']=="www.youtube.com"||a_url['host']=="youtu.be"||a_url['host']=="www.youtu.be"){parse_str(a_url['query']);var s_videoid=v;return('<iframe src="http://www.youtube.com/embed/'+s_videoid+'?autoplay='+i_autoplay+'" width="'+i_width+'" height="'+i_height+'" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>')}else if(a_url['host']=="www.vimeo.com"||a_url['host']=="vimeo.com"){var s_videoid=str_replace('/','',a_url['path'])
10return('<iframe src="http://player.vimeo.com/video/'+s_videoid+'?autoplay='+i_autoplay+'" width="'+i_width+'" height="'+i_height+'" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>');}}

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.