",{"class":"litebox-loader"}),e("body").prepend($litebox.css({"background-color":this.options.background})),$litebox.append($close,$prevNav,$nextNav,$container),$litebox.fadeIn(this.options.revealSpeed)},populateLitebox:function(t){var o=this,i=t.attr("href"),n=e(".litebox-content");if($litebox.append($loader),null!==i.match(/\.(jpeg|jpg|gif|png|bmp)/i)){var l=e("
",{src:i,"class":"litebox-content"});o.transitionContent("image",n,l),e("img.litebox-content").imagesLoaded(function(){$loader.remove()}),l.error(function(){o.liteboxError(),$loader.remove()})}else if(videoURL=i.match(/(youtube|youtu|vimeo|dailymotion|kickstarter)\.(com|be)\/((watch\?v=([-\w]+))|(video\/([-\w]+))|(projects\/([-\w]+)\/([-\w]+))|([-\w]+))/)){var a="",r="?autoplay=1";if("youtube"==videoURL[1]&&(a="http://www.youtube.com/v/"+videoURL[5]+r),"youtu"==videoURL[1]&&(a="http://www.youtube.com/v/"+videoURL[3]+r),"vimeo"==videoURL[1]&&(a="http://player.vimeo.com/video/"+videoURL[3]+r),"dailymotion"==videoURL[1]&&(a="https://www.dailymotion.com/embed/video/"+videoURL[7]+r),"kickstarter"==videoURL[1]&&(a="https://www.kickstarter.com/projects/"+videoURL[9]+"/"+videoURL[10]+"/widget/video.html"),a){var c=e("