vendor: 4,054 bytes, lines 1-65
1/*! 2 * Media helper for fancyBox 3 * version: 1.0.6 (Fri, 14 Jun 2013) 4 * @requires fancyBox v2.0 or later 5 * 6 * Usage: 7 * $(".fancybox").fancybox({ 8 * helpers : { 9 * media: true 10 * } 11 * }); 12 * 13 * Set custom URL parameters: 14 * $(".fancybox").fancybox({ 15 * helpers : { 16 * media: { 17 * youtube : { 18 * params : { 19 * autoplay : 0 20 * } 21 * } 22 * } 23 * } 24 * }); 25 * 26 * Or: 27 * $(".fancybox").fancybox({, 28 * helpers : { 29 * media: true 30 * }, 31 * youtube : { 32 * autoplay: 0 33 * } 34 * }); 35 * 36 * Supports: 37 * 38 * Youtube 39 * http://www.youtube.com/watch?v=opj24KnzrWo 40 * http://www.youtube.com/embed/opj24KnzrWo 41 * http://youtu.be/opj24KnzrWo 42 * http://www.youtube-nocookie.com/embed/opj24KnzrWo 43 * Vimeo 44 * http://vimeo.com/40648169 45 * http://vimeo.com/channels/staffpicks/38843628 46 * http://vimeo.com/groups/surrealism/videos/36516384 47 * http://player.vimeo.com/video/45074303 48 * Metacafe 49 * http://www.metacafe.com/watch/7635964/dr_seuss_the_lorax_movie_trailer/ 50 * http://www.metacafe.com/watch/7635964/ 51 * Dailymotion 52 * http://www.dailymotion.com/video/xoytqh_dr-seuss-the-lorax-premiere_people 53 * Twitvid 54 * http://twitvid.com/QY7MD 55 * Twitpic 56 * http://twitpic.com/7p93st 57 * Instagram 58 * http://instagr.am/p/IejkuUGxQn/ 59 * http://instagram.com/p/IejkuUGxQn/ 60 * Google maps 61 * http://maps.google.com/maps?q=Eiffel+Tower,+Avenue+Gustave+Eiffel,+Paris,+France&t=h&z=17 62 * http://maps.google.com/?ll=48.857995,2.294297&spn=0.007666,0.021136&t=m&z=16 63 * http://maps.google.com/?ll=48.859463,2.292626&spn=0.000965,0.002642&t=m&z=19&layer=c&cbll=48.859524,2.292532&panoid=YJ0lq28OOy3VT2IqIuVY0g&cbp=12,151.58,,0,-15.56 64 */ 65!function(a){"use strict";var b=a.fancybox,c=function(b,c,d){return d=d||"","object"===a.type(d)&&(d=a.param(d,!0)),a.each(c,function(a,c){b=b.replace("$"+a,c||"")}),d.length&&(b+=(b.indexOf("?")>0?"&":"?")+d),b};b.helpers.media={defaults:{youtube:{matcher:/(youtube\.com|youtu\.be|youtube-nocookie\.com)\/(watch\?v=|v\/|u\/|embed\/?)?(videoseries\?list=(.*)|[\w-]{11}|\?listType=(.*)&list=(.*)).*/i,params:{autoplay:1,autohide:1,fs:1,rel:0,hd:1,wmode:"opaque",enablejsapi:1},type:"iframe",url:"//www.youtube.com/embed/$3"},vimeo:{matcher:/(?:vimeo(?:pro)?.com)\/(?:[^\d]+)?(\d+)(?:.*)/,params:{autoplay:1,hd:1,show_title:1,show_byline:1,show_portrait:0,fullscreen:1},type:"iframe",url:"//player.vimeo.com/video/$1"},metacafe:{matcher:/metacafe.com\/(?:watch|fplayer)\/([\w\-]{1,10})/,params:{autoPlay:"yes"},type:"swf",url:function(b,c,d){return d.swf.flashVars="playerVars="+a.param(c,!0),"//www.metacafe.com/fplayer/"+b[1]+"/.swf"}},dailymotion:{matcher:/dailymotion.com\/video\/(.*)\/?(.*)/,params:{additionalInfos:0,autoStart:1},type:"swf",url:"//www.dailymotion.com/swf/video/$1"},twitvid:{matcher:/twitvid\.com\/([a-zA-Z0-9_\-\?\=]+)/i,params:{autoplay:0},type:"iframe",url:"//www.twitvid.com/embed.php?guid=$1"},twitpic:{matcher:/twitpic\.com\/(?!(?:place|photos|events)\/)([a-zA-Z0-9\?\=\-]+)/i,type:"image",url:"//twitpic.com/show/full/$1/"},instagram:{matcher:/(instagr\.am|instagram\.com)\/p\/([a-zA-Z0-9_\-]+)\/?/i,type:"image",url:"//$1/p/$2/media/?size=l"},google_maps:{matcher:/maps\.google\.([a-z]{2,3}(\.[a-z]{2})?)\/(\?ll=|maps\?)(.*)/i,type:"iframe",url:function(a){return"//maps.google."+a[1]+"/"+a[3]+a[4]+"&output="+(a[4].indexOf("layer=c")>0?"svembed":"embed")}}},beforeLoad:function(b,d){var e,f,g,h,i=d.href||"",j=!1;for(e in b)if(b.hasOwnProperty(e)&&(f=b[e],g=i.match(f.matcher))){j=f.type,h=a.extend(!0,{},f.params,d[e]||(a.isPlainObject(b[e])?b[e].params:null)),i="function"===a.type(f.url)?f.url.call(this,g,h,d):c(f.url,g,h);break}j&&(d.href=i,d.type=j,d.autoHeight=!1)}}}(jQuery);
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.