PageSourceSearch

https://iranhumanrights.org/wp-content/plugins/revolution_video_pl…/js/revolution_video_player.js?ver=7.0.4

js iranhumanrights.org collected 2026-09-24 17:37:01 UTC 58,343 bytes, 119 lines download raw bytes

1/*
2 * Revolution Video Player - YouTube Vimeo Self-Hosted  v1.0
3 *
4 * Copyright 2016, LambertGroup
5 * 
6*/
7
8
9(function(c){function ba(a,b,f){f.css({background:a.playlistRecordBgOffColor});a.playlistRecordShowTitle?c(".title",f).css({color:a.playlistRecordTitleOffColor}):c(".title",f).css({display:"none"});a.playlistRecordShowDesc?c(".reg",f).css({color:a.playlistRecordDescOffColor}):c(".reg",f).css({display:"none"});b=f.find("img:first");a.playlistRecordShowImg?b.css({opacity:a.playlistRecordBgOffImgOpacity/100,filter:"alpha(opacity="+a.playlistRecordBgOffImgOpacity+")"}):b.css({display:"none"})}function ka(a,
10b,f){f.css({background:a.playlistRecordBgOnColor});c(".title",f).css({color:a.playlistRecordTitleOnColor});c(".reg",f).css({color:a.playlistRecordDescOnColor});f.find("img:first").css({opacity:a.playlistRecordBgOnImgOpacity/100,filter:"alpha(opacity="+a.playlistRecordBgOnImgOpacity+")"})}function ca(a,b,f,g,h,e,n,l,p,k,m,q,u,r,w){var v=!0,E="next",x=f.shuffle;-1==a&&(E="previous");b.thumbsClicked&&(x=!1);if(!f.loop&&b.current_img_no+a>=b.selectedCateg_total_images||!f.loop&&0>b.current_img_no+a||
11b.categsAreListed)v=!1;v&&(ba(f,b,c(b.thumbsHolder_Thumbs[b.current_img_no])),ua(b,f,g,w),a=E,x?(x=Math.floor(Math.random()*(b.selectedCateg_total_images-1)),b.current_img_no=x!=b.current_img_no?x:Math.floor(Math.random()*(b.selectedCateg_total_images-1))):"next"==a?b.current_img_no==b.selectedCateg_total_images-1?b.current_img_no=0:b.current_img_no++:0>b.current_img_no-1?b.current_img_no=b.selectedCateg_total_images-1:b.current_img_no--,b.origID=c("div[rel='"+b.current_img_no+"']").attr("data-origID"),
12b.previousOrigID=b.origID,b.currentImg=b.playlist_arr[b.origID],e.html(b.playlist_arr[b.origID].title),b.thumbsClicked=!1,ka(f,b,c(b.thumbsHolder_Thumbs[b.current_img_no])),da(0,h,f,b),la(b,f,m),void 0!=b.currentImg.youtube&&""!=b.currentImg.youtube||void 0!=b.currentImg.vimeo&&""!=b.currentImg.vimeo||void 0!=b.currentImg.selfhostedMP4&&""!=b.currentImg.selfhostedMP4)&&(f.autoPlayFirstVideo=!0,k.hasClass("pauseBut")||k.addClass("pauseBut"),T(b,b.origID)&&(b.youtubeWasStarted=-1,g.css("background",
13"#000000"),-1!=z.indexOf("ipad")||-1!=z.indexOf("iphone")||-1!=z.indexOf("ipod")||-1!=z.indexOf("webos")||-1!=navigator.userAgent.indexOf("Android")?(b.player.cueVideoById(b.playlist_arr[b.origID].youtube),k.removeClass("pauseBut")):b.player.loadVideoById(b.playlist_arr[b.origID].youtube,0,f.suggestedQuality),b.player.setVolume(100*f.initialVolume),c(".lbg_player",g).css({"z-index":4}),ea(b,f,g,n,l,q,"block"),f.googleTrakingOn&&ga("send","event",b.googleYouTubeCateg,"Play","Title: "+b.playlist_arr[b.origID].title+
14"  ---  ID: "+b.playlist_arr[b.origID].youtube)),U(b,b.origID)&&(g.css("background","#000000"),c("#"+w).attr("src","//player.vimeo.com/video/"+b.playlist_arr[b.origID].vimeo+"?api=1&player_id="+w),ea(b,f,g,n,l,q,"none"),m.css({display:"none"}),f.googleTrakingOn&&ga("send","event",b.googleVimeoCateg,"Play","Title: "+b.playlist_arr[b.origID].title+"  ---  ID: "+b.playlist_arr[b.origID].vimeo)),fa(b,b.origID)&&(h=ha(),g.css("background","#000000"),e=new Date,document.getElementById(b.html5_video_id).src=
15qa(h,b,b.html5_video_id)+"?time="+e.getTime(),document.getElementById(b.html5_video_id).load(),c("#"+b.html5_video_id).css({"z-index":4,width:"100%",height:"100%"}),document.getElementById(b.html5_video_id).volume=f.initialVolume,document.getElementById(b.html5_video_id).play(),ea(b,f,g,n,l,q,"block"),f.googleTrakingOn&&ga("send","event",b.googleSelfHostedCateg,"Play","Title: "+b.playlist_arr[b.origID].title+"  ---  ID: "+b.playlist_arr[b.origID].selfhostedMP4)),ra(b,f,g,n,l,q,p,m,w),b.videoIsFullScreen&&
16f.showPlaylistBut&&(u.css({display:"none"}),r.css({right:"2px"})))}function da(a,b,c,g){if(g.selectedCateg_total_images>c.numberOfThumbsPerScreen){c=(g.thumbsHolder_Thumb.height()+g.thumbMarginTop)*(g.selectedCateg_total_images-c.numberOfThumbsPerScreen);var h=0;b.stop(!0,!0);a&&!g.isCarouselScrolling?(g.isCarouselScrolling=!0,1>=a&&(a=0),h=parseInt(c*(a-100)/100,10),0<h&&(h=0),b.animate({top:h+"px"},1100,"easeOutQuad",function(){g.isCarouselScrolling=!1})):g.isCarouselScrolling||(g.isCarouselScrolling=
17!0,b.css("opacity","0.5"),h=parseInt(-(g.thumbsHolder_Thumb.height()+g.thumbMarginTop)*g.current_img_no,10),Math.abs(h)>c&&(h=-c),g.revolution_video_player_sliderVertical.slider("value",100+parseInt(100*h/c,10)),b.animate({opacity:1,top:h+"px"},500,"easeOutCubic",function(){g.isCarouselScrolling=!1}))}}function sa(a,b,f,g,h,e,n,l,p,k){if(a.categsAreListed)k.click();else{var m=b.playlistRecordTitleLimit,q=b.playlistRecordDescLimit;l=c(".thumbsHolder_ThumbOFF .title",f);p=c(".thumbsHolder_ThumbOFF .reg",
18f);c(".thumbsHolder_ThumbOFF .padding",f);
18a.thumbsHolder_Thumbs.css({height:parseInt(h.height()/b.numberOfThumbsPerScreen,10)+"px"});l.css({"font-size":b.playlistTitleFontSize+"px","line-height":b.playlistTitleLineHeight+"px"});p.css({"font-size":b.playlistDescFontSize+"px","line-height":b.playlistDescLineHeight+"px"});var u=c(".thumbsHolder_ThumbOFF",f).find("img:first");b.playlistRecordShowImg&&u.css({height:parseInt(a.thumbsHolder_Thumbs.height()-20,10)+"px",width:Math.min(parseInt(b.origThumbImgW*
19parseInt(a.thumbsHolder_Thumbs.height()-20,10)/b.origThumbImgH,10),a.new_width-20)+"px"});var r=0,w=0;a.categsAreListed||(a.thumbMarginTop=Math.floor((e.height()-a.thumbsHolder_Thumb.height()*b.numberOfThumbsPerScreen)/(b.numberOfThumbsPerScreen-1)));thumb_i=0;g.children().each(function(){thumb_i++;theThumb=c(this);w=theThumb.height();1>=thumb_i?(r=Math.floor((e.height()-(a.thumbMarginTop+theThumb.height())*(b.numberOfThumbsPerScreen-1)-theThumb.height())/2),1<=r&&(r=0),theThumb.css("margin-top",
20r+"px"),theThumb.height(w)):theThumb.css("margin-top",a.thumbMarginTop+"px");b.playlistRecordShowTitle&&(m=parseInt((a.new_width-u.height()-20)*b.playlistRecordTitleLimit/(576-u.height()-20),10),theThumb.find(".title").html(V(a.playlist_arr[theThumb.attr("data-origID")].title,m)));b.playlistRecordShowDesc&&(q=parseInt((a.new_width-u.height()-20)*b.playlistRecordDescLimit/(576-u.height()-20),10),theThumb.find(".reg").html(V(a.playlist_arr[theThumb.attr("data-origID")].desc,q)))})}}function ma(a,b,
21f,g){c(".fullscreenVimeoButton",b).css({right:"82px"});374>=g&&c(".fullscreenVimeoButton",b).css({right:"37px"});305>=g&&c(".fullscreenVimeoButton",b).css({right:"5px"})}function na(a,b,f,g,h,e,n,l,p,k,m,q,u,r,w,v,E,x,D,I,t,J,M,N,L,K,F,G,A,B,C,P,S,O){if(!a.videoIsFullScreen)ha(),h=0,f=200,responsiveWidth=g.parent().parent().parent().width(),responsiveHeight=g.parent().parent().parent().height(),b.responsiveRelativeToBrowser&&(responsiveWidth=c(window).width(),responsiveHeight=c(window).height()),
22b.width100Proc&&(b.width=responsiveWidth),b.height100Proc&&(b.height=responsiveHeight),b.origWidth>responsiveWidth||b.width100Proc?b.width=responsiveWidth:b.width100Proc||(b.width=b.origWidth),b.height100Proc||(b.height=b.width/a.playerRatio),b.width=parseInt(b.width,10),b.height=parseInt(b.height,10),n.width(b.width),b.playlistVisible?n.height(b.height+b.playlistHeight+a.selectedCategHeight+b.playlistTopSpace+b.borderWidth):n.height(b.height),a.new_width=b.width-2*b.borderWidth,a.new_height=b.height-
232*b.borderWidth,e.width(a.new_width),e.height(a.new_height),e.css({left:b.borderWidth+"px",top:b.borderWidth+"px"}),O.width(b.width),O.css({top:b.height-b.borderWidth+"px"}),c(".lbg_player",e).width(a.new_width),c(".lbg_player",e).height(a.new_height),c(".lbg_vimeo_player",e).width(a.new_width),c(".lbg_vimeo_player",e).height(a.new_height),ma(a,e,k,a.new_width),p.width(a.new_width),p.height(b.playlistHeight),k.width(a.new_width),k.height(b.playlistHeight),k.css({top:b.height+b.playlistTopSpace+a.additionalSelectedCategHeight+
24"px",left:"0px"}),l.width(a.new_width),l.css("top","0px"),a.selectedCateg_total_images>b.numberOfThumbsPerScreen&&(0>=b.borderWidth&&(h=a.revolution_video_player_sliderVertical.width()/2),a.revolution_video_player_sliderVertical.height(k.height()-15),a.revolution_video_player_sliderVertical.css({display:"block",top:b.height-b.borderWidth+b.playlistTopSpace+a.selectedCategHeight+"px",left:Math.floor(b.width-2*b.borderWidth+parseInt(b.borderWidth-a.revolution_video_player_sliderVertical.width())/2,
2510)-h+"px"})),b.showCategs&&r.css({width:a.new_width+"px","background-position":a.new_width-7+"px 50%",top:b.height-b.borderWidth+b.playlistTopSpace+"px"}),g="block",b.playlistVisible||(g="none"),b.showSearch&&(v.css({width:a.new_width+"px",top:b.height+b.playlistTopSpace+a.additionalSelectedCategHeight+b.playlistHeight+parseInt((b.borderWidth-v.height())/2,10),left:0*b.borderWidth+"px"}),b.width<=a.minimalWidthSearch&&(f=a.new_width-F.width()-G.width()-A.width()-8*a.buttonsDistanceSeekBar),E.css({width:f+
26"px"})),b.showLogo&&(v=c(".yourLogo",e).find("img:first"),v.css({"max-width":parseInt(100*b.width/b.origWidth,10)+"%"}
26),c(".yourLogo",e).css({display:g})),b.playlistVisible?b.showNextPrevBut&&(F.css({right:"0px",bottom:-1*(b.playlistTopSpace+a.selectedCategHeight+b.playlistHeight+F.height()+parseInt((b.borderWidth-F.height())/2,10))+"px"}),G.css({right:F.width()+a.buttonsDistanceSeekBar+"px",bottom:-1*(b.playlistTopSpace+a.selectedCategHeight+b.playlistHeight+G.height()+parseInt((b.borderWidth-G.height())/
272,10))+"px"})):b.showNextPrevBut&&(F.css({right:0}),G.css({right:F.width()+a.buttonsDistanceSeekBar+"px"})),b.showShuffleBut&&A.css({right:F.width()+G.width()+a.totalButtonsDistanceSeekBar+"px",bottom:-1*(b.playlistTopSpace+a.selectedCategHeight+b.playlistHeight+A.height()+parseInt((b.borderWidth-A.height())/2,10))}),b.width<=a.minimalWidthInfo?X(a,b,e,x,D,I,t,J,M,N,L,K,!1,!1):b.width<=a.minimalWidthDownload?X(a,b,e,x,D,I,t,J,M,N,L,K,!1,!0):X(a,b,e,x,D,I,t,J,M,N,L,K,!0,!0),U(a,a.origID)&&ea(a,b,e,
28B,C,P,"none"),sa(a,b,e,l,p,k,m,q,u,r);else if(-1!=z.indexOf("ipad")||-1!=z.indexOf("iphone")||-1!=z.indexOf("ipod")||-1!=z.indexOf("webos")||-1!=navigator.userAgent.indexOf("Android"))K.click(),na(a,b,f,g,h,e,n,l,p,k,m,q,u,r,w,v,E,x,D,I,t,J,M,N,L,K,F,G,A,B,C,P,S,O);da(0,l,b,a)}function ha(){var a=-1;if("Microsoft Internet Explorer"==navigator.appName){var b=navigator.userAgent,c=/MSIE ([0-9]{1,}[.0-9]{0,})/;null!=c.exec(b)&&(a=parseFloat(RegExp.$1))}else"Netscape"==navigator.appName&&(b=navigator.userAgent,
29c=/Trident\/.*rv:([0-9]{1,}[.0-9]{0,})/,null!=c.exec(b)&&(a=parseFloat(RegExp.$1)));return parseInt(a,10)}function qa(a,b,c){var g=b.playlist_arr[b.origID].selfhostedWEBM,h=navigator.userAgent.toLowerCase();if(-1!=h.indexOf("chrome")||-1!=h.indexOf("msie")||-1!=h.indexOf("safari")||-1!=h.indexOf("android"))g=b.playlist_arr[b.origID].selfhostedMP4;if(-1!=h.indexOf("ipad")||-1!=h.indexOf("iphone")||-1!=h.indexOf("ipod")||-1!=h.indexOf("webos"))g=b.playlist_arr[b.origID].selfhostedMP4;-1!=h.indexOf("android")&&
30(g=b.playlist_arr[b.origID].selfhostedMP4);-1!=a&&(g=b.playlist_arr[b.origID].selfhostedMP4);-1!=h.indexOf("opera")&&(g=b.playlist_arr[b.origID].selfhostedWEBM,""!=oa(c)&&(g=b.playlist_arr[b.origID].selfhostedMP4));-1!=h.indexOf("opr/")&&(g=b.playlist_arr[b.origID].selfhostedWEBM,""!=oa(c)&&(g=b.playlist_arr[b.origID].selfhostedMP4));if(-1!=h.indexOf("firefox")||-1!=h.indexOf("mozzila"))g=b.playlist_arr[b.origID].selfhostedWEBM,""!=oa(c)&&(g=b.playlist_arr[b.origID].selfhostedMP4);return g}function T(a,
31b){var c=!1;void 0!=a.playlist_arr[b].youtube&&""!=a.playlist_arr[b].youtube&&a.haveYouTube&&(c=!0);return c}function U(a,b){var c=!1;void 0!=a.playlist_arr[b].vimeo&&""!=a.playlist_arr[b].vimeo&&a.haveVimeo&&(c=!0);return c}function fa(a,b){var c=!1;void 0!=a.playlist_arr[b].selfhostedMP4&&""!=a.playlist_arr[b].selfhostedMP4&&a.haveSelfHosted&&(c=!0);return c}function R(a){var b=10>Math.floor(a/60)?"0"+Math.floor(a/60):Math.floor(a/60);return b+":"+(10>Math.floor(a-60*b)?"0"+Math.floor(a-60*b):Math.floor(a-
3260*b))}function ra(a,b,f,g,h,e,n,l,p){clearInterval(a.youTubeInterval);clearInterval(a.vimeoInterval);clearInterval(a.selfHostedInterval);a.totalTime=0;a.curTime=0;b.isBufferInitialized&&(g.progressbar("destroy"),b.isBufferInitialized=!1);b.isSeekBarInitialized&&(h.slider("destroy"),b.isSeekBarInitialized=!1);a.bufferedTime=0;g.css({background:b.bufferEmptyColor});U(a,a.origID)||(g.progressbar({value:0,complete:function(){a.is_buffer_complete=!0},create:function(a,c){b.isBufferInitialized=!0}}),c(".ui-widget-header",
33g).css({background:b.bufferFullColor}),g.css({display:"block"}),h.css({display:"block"}),e.css({display:"block"}));U(a,a.origID)&&a.videoIsFullScreen&&(g.css({display:"none"}),h.css({display:"none"}),e.css({display:"none"}));T(a,a.origID)&&(a.youTubeInterval=setInterval(function(){var e=!0;-1==z.indexOf("ipad")&&-1==z.indexOf("iphone")&&-1==z.indexOf("ipod")&&-1==z.indexOf("webos")&&-1==navigator.userAgent.indexOf("Android")||a.youtubeWasStarted==YT.PlayerState.PLAYING||(e=!1);0!=a.isYouTubeReady&&
34(!b.isSeekBarInitialized&&0<a.player.getDuration()&&e&&(h.slider({value:0,step:.5,orientation:"horizontal",range:"min",max:a.player.getDuration(),slide:function(){a.is_seeking=!0;c("iframe",f).css({"pointer-events":"none"})},stop:function(b,e){a.is_seeking=!1;c("iframe",f).css({"pointer-events":"auto"});a.player.seekTo(e.value)},create:function(a,c){b.isSeekBarInitialized=!0}}),c(".ui-slider-range",h).css({background:b.seekbarColor})),n.html(R(a.player.getDuration())+"/"+R(a.player.getCurrentTime())),
35a.is_buffer_complete||(a.bufferedTime=100*a.player.getVideoLoadedFraction(),g.progressbar({value:a.bufferedTime})),!a.is_seeking&&b.isSeekBarInitialized&&h.slider("value",a.player.getCurrentTime()))},500));U(a,a.origID)&&(a.vimeoInterval=setInterval(function(){n.html(R(a.totalTime)+"/"+R(a.curTime));0<a.totalTime||a.vimeo_player.api("getDuration",function(b){a.totalTime=b});a.vimeo_player.api("getCurrentTime",function(b){a.curTime=b;0<b&&a.curTime++})},500));if(fa(a,a.origID)){var k=parseInt(g.width(),
3610);a.selfHostedInterval=setInterval(function(){a.curTime=document.getElementById(a.html5_video_id).currentTime;a.totalTime=document.getElementById(a.html5_video_id).duration;!b.isSeekBarInitialized&&0<a.totalTime&&(h.slider({value:0,step:.5,orientation:"horizontal",range:"min",max:a.totalTime,slide:function(){a.is_seeking=!0},stop:function(b,c){a.is_seeking=!1;document.getElementById(a.html5_video_id).currentTime=c.value},create:function(a,c){b.isSeekBarInitialized=!0}}),c(".ui-slider-range",h).css({background:b.seekbarColor}));
37n.html(R(a.totalTime)+"/"+R(a.curTime));a.bufferedTime=document.getElementById(a.html5_video_id).buffered;a.is_buffer_complete||(a.bufferedTime=a.bufferedTime.length?parseFloat(document.getElementById(a.html5_video_id).buffered.end(0)):document.getElementById(a.html5_video_id).buffered,0<a.bufferedTime&&g.progressbar({value:a.bufferedTime*k/a.totalTime}));!a.is_seeking&&b.isSeekBarInitialized&&h.slider("value",a.curTime)},500)}}function ea(a,b,f,g,h,e,n){e=0;var l=c(".showHidePlaylistBut",f).width()+
38a.buttonsDistance,p=n,k="none";"none"==n&&(k="block");T(a,a.origID)&&(p="none");c(".firstset_controls",f).css("display",n);g.css("display",n);h.css("display",n);"block"==n&&(e=a.showPlaylistButOrigLeft,l=a.fullscreenButOrigLeft);c(".largePlayButton",f).css({display:p});c(".fullscreenVimeoButton",f).css({display:k});b.showPlaylistBut&&c(".showHidePlaylistBut",f).css({left:e+"px"});b.showFullscreenBut&&c(".fullscreenBut",f).css({left:l+"px",display:n})}function ua(a,b,f,g){T(a,a.previousOrigID)&&(a.player.stopVideo(),
39c(".lbg_player",f).css({"z-index":-1}));U(a,a.previousOrigID)&&(a.vimeo_player.api("pause"),c(".lbg_vimeo_player",f).css({"z-index":-1}),a.vimeo_player.api("getVolume",function(a){b.initialVolume=a}));fa(a,a.previousOrigID)&&(document.getElementById(a.html5_video_id).pause(),c("#"+a.html5_video_id).css({"z-index":-1,width:0,height:0}))}function V(a,b){a=String(a);var c="",g,h;a.length>b&&(a=a.substring(0,b),h=a.split(" "),g=a.substring(b-2,b-1),""!=g&&(h.pop(),c="..."),a=h.join(" "));return a+c}function ta(a,
40b,f,g,h){f.css("top","0px");var e=0;b.isPlaylistSliderInitialized&&a.revolution_video_player_sliderVertical.slider("destroy");b.isPlaylistSliderInitialized=!1;a.selectedCateg_total_images>b.numberOfThumbsPerScreen&&(a.revolution_video_player_sliderVertical.slider({orientation:"vertical",range:"min",min:1,max:100,step:1,value:100,slide:function(c,e){da(e.value,f,b,a)}}),b.isPlaylistSliderInitialized=!0,0>=b.borderWidth&&(e=a.revolution_video_player_sliderVertical.width()/2),a.revolution_video_player_sliderVertical.height(h.height()-
4115),a.revolution_video_player_sliderVertical.css({display:"block",top:b.height-b.borderWidth+b.playlistTopSpace+a.selectedCategHeight+"px",left:Math.floor(b.width-2*b.borderWidth+parseInt(b.borderWidth-a.revolution_video_player_sliderVertical.width())/2,10)-e+"px"}),c(".ui-slider-handle",a.revolution_video_player_sliderVertical).css({"background-color":b.playlistScrollerBgColorOFF}),c(".ui-slider-handle",a.revolution_video_player_sliderVertical).mouseover(function(){c(this).css({"background-color":b.playlistScrollerBgColorON})}),
42c(".ui-slider-handle",a.revolution_video_player_sliderVertical).mouseout(function(){c(this).css({"background-color":b.playlistScrollerBgColorOFF})}),g.mousewheel(function(c,e,g,h){c.preventDefault();c=a.revolution_video_player_sliderVertical.slider("value");if(1<parseInt(c,10)&&-1==parseInt(e,10)||100>parseInt(c,10)&&1==parseInt(e,10))c+=e,a.revolution_video_player_sliderVertical.slider("value",c),da(c,f,b,a)}))}function va(a,b,f,g,h,e,n,l,p,k,m,q,u,r,w,v,z,x,D,I,t,J,M,N,L,K,F,G,A){g.stop(!0,!0);
43a.isCarouselScrolling=!1;g.stop().animate({left:-1*e.width()+"px"},600,"easeOutQuad",function(){g.html("");for(var B=0;B<a.category_arr.length;B++)a.thumbsHolder_Thumb=c('<div class="thumbsHolder_ThumbOFF categUnit" rel="'+B+'"><div class="padding"><span class="title">'+a.category_arr[B]+"</span></div></div>"),g.append(a.thumbsHolder_Thumb),a.thumbsHolder_Thumb.css({top:(a.thumbsHolder_Thumb.height()+1)*B+"px",background:b.categoryRecordBgOffColor,"border-bottom-color":b.categoryRecordBottomBorderOffColor,
44color:b.categoryRecordTextOffColor}),a.category_arr[B]==a.selectedCateg&&(a.current_img_no=B,a.thumbsHolder_Thumb.css({background:b.categoryRecordBgOnColor,"border-bottom-color":b.categoryRecordBottomBorderOnColor,color:b.categoryRecordTextOnColor}));a.thumbMarginTop=0;b.numberOfThumbsPerScreen=Math.floor(b.playlistHeight/(a.thumbsHolder_Thumb.height()+1));a.selectedCateg_total_images=a.numberOfCategories;a.categsAreListed=!0;a.thumbsHolder_Thumbs=c(".thumbsHolder_ThumbOFF",f);ta(a,b,g,e,h);a.thumbsHolder_Thumbs.click(function(){var C=
45c(this).attr("rel");a.selectedCateg=a.category_arr[C];ver_ie=ha();l.html(a.selectedCateg);ia(a,b,f,g,h,e,n,p,k,m,q,u,r,w,v,z,x,D,I,t,J,M,N,L,K,F,G,A,ver_ie)});a.thumbsHolder_Thumbs.mouseover(function(){c(this).css({background:b.categoryRecordBgOnColor,"border-bottom-color":b.categoryRecordBottomBorderOnColor,color:b.categoryRecordTextOnColor})});a.thumbsHolder_Thumbs.mouseout(function(){var e=c(this),f=e.attr("rel");a.current_img_no!=f&&e.css({background:b.categoryRecordBgOffColor,"border-bottom-color":b.categoryRecordBottomBorderOffColor,
46color:b.categoryRecordTextOffColor})});g.stop().animate({left:"0px"},400,"easeOutQuad",function(){})})}function ia(a,b,f,g,h,e,n,l,p,k,m,q,u,r,w,v,E,x,D,I,t,J,M,N,L,K,F,G,A){g.stop(!0,!0);a.isCarouselScrolling=!1;a.categsAreListed=!1;m=k="";var B=!1;l=500;a.is_very_first&&(l=1);""!=a.search_val&&(l=1);g.css({left:-1*e.width()+"px"});g.html("");for(var C=a.selectedCateg_total_images=0;C<a.playlist_arr.length;C++){B=!1;if(""!=a.search_val){if(k=a.playlist_arr[C].title.toLowerCase(),m=a.playlist_arr[C].desc.toLowerCase(),
47-1!=k.indexOf(a.search_val)||-1!=m.indexOf(a.search_val))B=!0}else-1!=a.playlist_arr[C].category.indexOf(a.selectedCateg+";")&&(B=!0);B&&(a.selectedCateg_total_images++,k=a.playlist_arr[C]["bottom-thumb"],thumbUnit="",b.playlistRecordShowImg&&(thumbUnit='<img src="'+k+'">'),a.thumbsHolder_Thumb=c('<div class="thumbsHolder_ThumbOFF" rel="'+(a.selectedCateg_total_images-1)+'" data-origID="'+C+'"><div class="padding">'+thumbUnit+'<span class="title">'+V(a.playlist_arr[C].title,b.playlistRecordTitleLimit)+
48'</span><span class="reg">'+V(a.playlist_arr[C].desc,b.playlistRecordDescLimit)+"</span></div></div>"),g.append(a.thumbsHolder_Thumb),ba(b,a,a.thumbsHolder_Thumb),a.thumbsHolder_Thumb.css({height:parseInt(b.playlistRecordHeight,10)+"px"}),c(".padding",a.thumbsHolder_Thumb).css({padding:b.playlistRecordPadding+"px"}),0==b.origThumbW&&(0==b.numberOfThumbsPerScreen&&(b.numberOfThumbsPerScreen=Math.floor(b.playlistHeight/(a.thumbsHolder_Thumb.height()+1))),b.origNumberOfThumbsPerScreen=b.numberOfThumbsPerScreen,
49b.origThumbW=a.thumbsHolder_Thumb.width(),b.origThumbH=a.thumbsHolder_Thumb.height(),p=c(".thumbsHolder_ThumbOFF .padding",f),b.origthumbLeftPadding=p.css("padding-left").substr(0,p.
49css("padding-left").lastIndexOf("px")),b.origthumbRightPadding=p.css("padding-right").substr(0,p.css("padding-left").lastIndexOf("px")),b.origthumbTopPadding=p.css("padding-top").substr(0,p.css("padding-left").lastIndexOf("px")),b.origthumbBottomPadding=p.css("padding-bottom").substr(0,p.css("padding-left").lastIndexOf("px")),
50a.thumbMarginTop=Math.floor((h.height()-a.thumbsHolder_Thumb.height()*b.numberOfThumbsPerScreen)/(b.numberOfThumbsPerScreen-1)),a.origThumbMarginTop=a.thumbMarginTop,k=c(".thumbsHolder_ThumbOFF .title",f),m=c(".thumbsHolder_ThumbOFF .reg",f),k.css({"font-size":b.playlistTitleFontSize+"px","line-height":b.playlistTitleLineHeight+"px"}),m.css({"font-size":b.playlistDescFontSize+"px","line-height":b.playlistDescLineHeight+"px"}),-1!=k.css("font-size").lastIndexOf("px")?b.origthumbTitleFont=k.css("font-size").substr(0,
51k.css("font-size").lastIndexOf("px")):-1!=k.css("font-size").lastIndexOf("em")&&(b.origthumbTitleFont=k.css("font-size").substr(0,k.css("font-size").lastIndexOf("em"))),-1!=k.css("line-height").lastIndexOf("px")?b.origthumbTitleLineHeight=k.css("line-height").substr(0,k.css("line-height").lastIndexOf("px")):-1!=k.css("line-height").lastIndexOf("em")&&(b.origthumbTitleLineHeight=k.css("line-height").substr(0,k.css("line-height").lastIndexOf("em"))),-1!=m.css("font-size").lastIndexOf("px")?b.origthumbRegFont=
52m.css("font-size").substr(0,m.css("font-size").lastIndexOf("px")):-1!=m.css("font-size").lastIndexOf("em")&&(b.origthumbRegFont=m.css("font-size").substr(0,m.css("font-size").lastIndexOf("em"))),-1!=m.css("line-height").lastIndexOf("px")?b.origthumbRegLineHeight=m.css("line-height").substr(0,m.css("line-height").lastIndexOf("px")):-1!=m.css("line-height").lastIndexOf("em")&&(b.origthumbRegLineHeight=m.css("line-height").substr(0,m.css("line-height").lastIndexOf("em")))))}0!=b.origNumberOfThumbsPerScreen&&
53(b.numberOfThumbsPerScreen=b.origNumberOfThumbsPerScreen,a.thumbMarginTop=a.origThumbMarginTop);ta(a,b,g,e,h);a.thumbsHolder_Thumbs=c(".thumbsHolder_ThumbOFF",f);a.thumbsHolder_Thumbs.removeClass("categUnit");k=c(".thumbsHolder_ThumbOFF .title",f);m=c(".thumbsHolder_ThumbOFF .reg",f);a.thumbsHolder_Thumbs.click(function(){var e=c(this).attr("rel");ba(b,a,c(a.thumbsHolder_Thumbs[a.current_img_no]));a.thumbsClicked=!0;a.current_img_no=e-1;ca(1,a,b,f,g,q,u,r,w,v,E,x,D,I,t)});a.thumbsHolder_Thumbs.mouseenter(function(){var e=
54c(this);e.attr("rel");ka(b,a,e)});a.thumbsHolder_Thumbs.mouseleave(function(){var e=c(this),f=e.attr("rel");a.current_img_no!=f&&ba(b,a,e)});sa(a,b,f,g,e,h,p,k,m,n);a.current_img_no=b.firstVideo;b.firstVideo>a.selectedCateg_total_images&&(a.current_img_no=a.selectedCateg_total_images);0>b.firstVideo&&(a.current_img_no=0);b.shuffle&&(a.current_img_no=Math.floor(Math.random()*a.selectedCateg_total_images));ka(b,a,c(a.thumbsHolder_Thumbs[a.current_img_no]));a.origID=c("div[rel='"+a.current_img_no+"']").attr("data-origID");
55q.html(a.playlist_arr[a.origID].title);a.currentImg=a.playlist_arr[a.origID];g.stop().animate({left:"0px"},l,"easeOutQuad",function(){b.shuffle&&da(0,g,b,a)});if(a.is_very_first){if(a.haveYouTube){var P=function(c){a.youtubeWasStarted!=YT.PlayerState.PLAYING&&(a.youtubeWasStarted=c.data);c.data==YT.PlayerState.ENDED&&ca(1,a,b,f,g,q,u,r,w,v,E,x,D,I,t);c.data==YT.PlayerState.PAUSED&&v.removeClass("pauseBut");c.data==YT.PlayerState.PLAYING&&v.addClass("pauseBut")},S=function(c){-1==z.indexOf("ipad")&&
56-1==z.indexOf("iphone")&&-1==z.indexOf("ipod")&&-1==z.indexOf("webos")&&-1==navigator.userAgent.indexOf("Android")&&(a.player.setVolume(100*b.initialVolume),b.autoPlayFirstVideo?void 0!=a.currentImg.youtube&&""!=a.currentImg.youtube&&(c.target.playVideo(),v.hasClass("pauseBut")||v.addClass("pauseBut")):(c.target.pauseVideo(),a.player.cueVideoById(a.currentImg.youtube)));a.isYouTubeReady=!0};h=document.createElement("script");h.src=b.youtubeJsUrl;e=document.getElementsByTagName("script")[0];e.parentNode.insertBefore(h,
57e);window.onYouTubeIframeAPIReady=function(){void 0!=a.currentImg.youtube&&""!=a.currentImg.youtube?(a.player=new YT.Player(J,{width:a.new_width,height:b.height-2*b.borderWidth,videoId:a.currentImg.youtube,playerVars:{rel:0,wmode:"opaque",controls:0,showinfo:0,html5:1,modestbranding:1,cc_load_policy:0,iv_load_policy:3,fs:0,disablekb:1},events:{onReady:S,onStateChange:P}}),c(".lbg_player",f).css({"z-index":4})):a.player=new YT.Player(J,{width:"100%",height:"100%",videoId:"xoORbLlFsis",playerVars:{rel:0,
58wmode:"opaque",controls:0,showinfo:0,html5:1,modestbranding:1,cc_load_policy:0,iv_load_policy:3,fs:0,disablekb:1},events:{onReady:S,onStateChange:P}})}}if(a.haveVimeo){var O=function(c){ca(1,a,b,f,g,q,u,r,w,v,E,x,D,I,t)};void 0!=a.currentImg.vimeo&&""!=a.currentImg.vimeo?(c(".lbg_vimeo_player",f).html('<iframe id="'+t+'" src="//player.vimeo.com/video/'+a.currentImg.vimeo+"?api=1&amp;player_id="+t+'" width="100%" height="100%" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>'),
59c(".lbg_vimeo_player",f).css({"z-index":4})):c(".lbg_vimeo_player",f).html('<iframe id="'+t+'" src="//player.vimeo.com/video/?api=1&amp;player_id='+t+'" width="100%" height="100%" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>');a.vimeo_iframe=c("#"+t)[0];a.vimeo_player=$f(a.vimeo_iframe);a.vimeo_player.addEvent("ready",function(){a.vimeo_player.api("setVolume",b.initialVolume);c(".lbg_vimeo_player",f).css({"z-index":4});b.autoPlayFirstVideo?void 0!=a.currentImg.vimeo&&
60""!=a.currentImg.vimeo&&-1==z.indexOf("ipad")&&-1==z.indexOf("iphone")&&-1==z.indexOf("ipod")&&-1==z.indexOf("webos")&&-1==navigator.userAgent.indexOf("Android")&&a.vimeo_player.api("play"):a.vimeo_player.api("pause");a.vimeo_player.addEvent("finish",O)}
60)}a.haveSelfHosted&&(h="",b.autoPlayFirstVideo&&(h=' autoplay="autoplay"'),h=c('<video id="'+a.html5_video_id+'" width="100%" height="100%" preload="auto"'+h+"></video>"),f.append(h),c("#"+a.html5_video_id).css({"z-index":-1,width:0,height:0,top:0,
61left:0,position:"absolute",background:"#000000"}),document.getElementById(a.html5_video_id).volume=b.initialVolume,void 0!=a.currentImg.selfhostedMP4&&""!=a.currentImg.selfhostedMP4&&(document.getElementById(a.html5_video_id).src=qa(A,a,a.html5_video_id),document.getElementById(a.html5_video_id).load(),c("#"+a.html5_video_id).css({"z-index":4,width:"100%",height:"100%"}),b.autoPlayFirstVideo&&(document.getElementById(a.html5_video_id).play(),v.hasClass("pauseBut")||v.addClass("pauseBut"))),document.getElementById(a.html5_video_id).addEventListener("ended",
62function(c){ca(1,a,b,f,g,q,u,r,w,v,E,x,D,I,t)},!1));b.googleTrakingOn&&(ga("create",b.googleTrakingCode,"auto"),h=A="",void 0!=a.currentImg.youtube&&""!=a.currentImg.youtube&&(A=a.currentImg.youtube,h=a.googleYouTubeCateg),void 0!=a.currentImg.vimeo&&""!=a.currentImg.vimeo&&(A=a.currentImg.vimeo,h=a.googleVimeoCateg),void 0!=a.currentImg.selfhostedMP4&&""!=a.currentImg.selfhostedMP4&&(A=a.currentImg.selfhostedMP4,h=a.googleSelfHostedCateg),ga("send","event",h,"Play","Title: "+a.currentImg.title+"  ---  ID: "+
63A));ra(a,b,f,u,r,x,w,E,t);x.css({left:0,height:b.borderWidth+"px",bottom:-1*b.borderWidth+"px"});X(a,b,f,M,v,N,L,K,F,G,D,I,!0,!0);void 0!=a.currentImg.vimeo&&""!=a.currentImg.vimeo&&ea(a,b,f,u,r,x,"none")}a.is_very_first&&(a.is_very_first=!1,a.previousOrigID=a.origID)}function X(a,b,c,g,h,e,n,l,p,k,m,q,u,r){a.totalButtonsDistance=0;b.showRewindBut?(g.css({left:0,bottom:parseInt((b.borderWidth-g.height())/2,10)+"px"}),a.totalButtonsDistance+=a.buttonsDistance):g.css({display:"none",width:0,height:0,
64padding:0,margin:0});b.showPlayBut?(h.css({left:g.width()+a.totalButtonsDistance+"px",bottom:parseInt((b.borderWidth-h.height())/2,10)+"px","background-color":b.playButColorOff}),a.totalButtonsDistance+=a.buttonsDistance):h.css({display:"none",width:0,height:0,padding:0,margin:0});b.showVolumeBut?(e.css({left:g.width()+h.width()+a.totalButtonsDistance+"px",bottom:parseInt((b.borderWidth-e.height())/2,10)+"px"}),a.totalButtonsDistance+=a.buttonsDistance):e.css({display:"none",width:0,height:0,padding:0,
65margin:0});b.showFacebookBut?(n.css({left:g.width()+h.width()+e.width()+a.totalButtonsDistance+"px",bottom:parseInt((b.borderWidth-n.height())/2,10)+"px"}),a.totalButtonsDistance+=a.buttonsDistance):n.css({display:"none",width:0,height:0,padding:0,margin:0});b.showTwitterBut?(l.css({left:g.width()+h.width()+e.width()+n.width()+a.totalButtonsDistance+"px",bottom:parseInt((b.borderWidth-l.height())/2,10)+"px"}),a.totalButtonsDistance+=a.buttonsDistance):l.css({display:"none",width:0,height:0,padding:0,
66margin:0});b.showInfoBut&&r?(p.css({display:"block",width:a.origInfoWidth+"px",height:a.origInfoHeight+"px",left:g.width()+h.width()+e.width()+n.width()+l.width()+a.totalButtonsDistance+"px",bottom:parseInt((b.borderWidth-a.origInfoHeight)/2,10)+"px"}),a.totalButtonsDistance+=a.buttonsDistance):p.css({display:"none",width:0,height:0,padding:0,margin:0});b.showDownloadBut&&u?(k.css({display:"block",width:a.origDownloadWidth+"px",height:a.origDownloadHeight+"px",left:g.width()+h.width()+e.width()+n.width()+
67l.width()+p.width()+a.totalButtonsDistance+"px",bottom:parseInt((b.borderWidth-a.origDownloadHeight)/2,10)+"px"}),a.totalButtonsDistance+=a.buttonsDistance):k.css({display:"none",width:0,height:0,padding:0,margin:0});b.showPlaylistBut?(a.showPlaylistButOrigLeft=g.width()+h.width()+e.width()+n.width()+l.width()+p.width()+k.width()+a.totalButtonsDistance,m.css({left:a.showPlaylistButOrigLeft+"px",bottom:parseInt((b.borderWidth-m.height())/2,10)+"px"}),a.totalButtonsDistance+=a.buttonsDistance):m.css({display:"none",
68width:0,height:0,padding:0,margin:0});b.showFullscreenBut?(a.fullscreenButOrigLeft=g.width()+h.width()+e.width()+n.width()+l.width()+p.width()+k.width()+m.width()+a.totalButtonsDistance,q.css({bottom:parseInt((b.borderWidth-q.height())/2,10)+"px",right:"2px"}),a.totalButtonsDistance+=a.buttonsDistance):q.css({display:"none",width:0,height:0,padding:0,margin:0})}function pa(a,b,f,g,h,e,n,l,p,k,m,q,u,r,w,v){a.videoIsFullScreen?(c("body").css("margin-top",a.origBodyTopMargin),c("body").css("margin-right",
69a.origBodyRightMargin),c("body").css("margin-bottom",a.origBodyBottomMargin),c("body").css("margin-left",a.origBodyLeftMargin),c("body").css("overflow",a.origBodyOverflow),c("html").css("overflow",a.origHtmlOverflow),a.videoIsFullScreen=!1,f.css("position",a.containerOrigPosition),f.css("z-index",a.containerOrigZindex),e.css({display:"block"}),U(a,a.origID)||(g.css({display:"block"}),h.css({display:"block"})),v.css({display:"block"}),a.new_width=parseInt(b.width-2*b.borderWidth,10),b.showNextPrevBut&&
70(k.css({right:"0px",bottom:-1*(b.playlistTopSpace+a.selectedCategHeight+b.playlistHeight+k.height()+parseInt((b.borderWidth-k.height())/2,10))+"px"}),m.css({right:k.width()+a.buttonsDistanceSeekBar+"px",bottom:-1*(b.playlistTopSpace+a.selectedCategHeight+b.playlistHeight+m.height()+parseInt((b.borderWidth-m.height())/2,10))+"px"})),b.showShuffleBut&&q.css({right:k.width()+m.width()+a.totalButtonsDistanceSeekBar+"px",bottom:-1*(b.playlistTopSpace+a.selectedCategHeight+b.playlistHeight+q.height()+parseInt((b.borderWidth-
71q.height())/2,10))+"px"}),k=b.playlistVisible?"block":"none",a.new_height=parseInt(b.height-2*b.borderWidth,10),n.css({display:k}),b.showCategs&&l.css({display:k}),b.showSearch&&p.css({display:k}),b.isPlaylistSliderInitialized&&b.playlistVisible&&a.revolution_video_player_sliderVertical.css({visibility:"visible"}),b.showInfoBut&&u.css({bottom:0}),b.showPlaylistBut&&(r.css({display:"block"}),w.css({right:"2px"})),f.width(a.new_width),f.height(a.new_height),f.css({left:b.borderWidth+"px",top:b.borderWidth+
72"px"}),e.css({left:0,bottom:-1*b.borderWidth+"px",background:"none"}),g.css({bottom:0}),h.css({bottom:0})):(c("body").css("margin",0),c("body").css("overflow","hidden"),c("html").css("overflow","hidden"),f.css("position","fixed"),f.css("z-index",999990),a.new_width=window.innerWidth,a.new_height=window.innerHeight,a.videoIsFullScreen=!0,U(a,a.origID)&&(g.css({display:"none"}),h.css({display:"none"}),e.css({display:"none"})),v.css({display:"none"}),n.css({display:"none"}),b.showCategs&&l.css({display:"none"}),
73b.showSearch&&p.css({display:"none"}),b.isPlaylistSliderInitialized&&a.revolution_video_player_sliderVertical.css({visibility:"hidden"}),b.showNextPrevBut&&(k.css({right:w.width()+a.buttonsDistance+"px",bottom:parseInt((b.borderWidth-k.height())/2,10)+"px"}),m.css({right:k.width()+a.buttonsDistance+w.width()+a.buttonsDistance+"px",bottom:parseInt((b.borderWidth-m.height())/2,10)+"px"})),b.showShuffleBut&&q.css({right:2*k.width()+2*a.buttonsDistance+w.width()+a.buttonsDistance+"px",bottom:parseInt((b.borderWidth-
74q.height())/2,10)+"px"}),b.showInfoBut&&u.css({bottom:b.borderWidth+"px"}),b.showPlaylistBut&&(r.css({display:"none"}),w.css({right:"2px"})),f.width(a.new_width),f.height(a.new_height),f.css({top:"0px",left:"0px"}),e.css({left:0,bottom:"1px",background:b.controlsBgFullScreenColor}),g.css({bottom:b.borderWidth+"px"}),h.css({bottom:b.borderWidth+"px"}));a.haveYouTube&&c(".lbg_player",f).css({width:a.new_width+"px",height:a.new_height+"px"});a.haveVimeo&&c(".lbg_vimeo_player",f).css({width:a.new_width+
75"px",height:a.new_height+"px"});ma(a,f,n,a.new_width)}function la(a,b,c){c.html('<div class="movieTitle">'+a.playlist_arr[a.origID].title+'</div><div class="movieDesc">'+a.playlist_arr[a.origID].desc+"</div>")}var z=navigator.userAgent.toLowerCase(),oa=function(a){return document.getElementById(a).canPlayType('video/mp4; codecs="avc1.42E01E, mp4a.40.2"')};c.fn.revolution_video_player=function(a){a=c.extend({},c.fn.revolution_video_player.defaults,a);return this.each(function(){var b=c(this);responsiveWidth=
76b.parent().width();responsiveHeight=b.parent().height();a.responsiveRelativeToBrowser&&(responsiveWidth=c(window).width(),responsiveHeight=c(window).height());a.origWidth=a.width;a.width100Proc&&(a.width=responsiveWidth);a.origHeight=a.height;a.height100Proc&&(a.height=responsiveHeight);a.responsive&&(a.origWidth!=responsiveWidth||a.width100Proc)&&(a.width=a.origWidth>responsiveWidth||a.width100Proc?responsiveWidth:a.origWidth,a.height100Proc||(a.height=a.width/(a.origWidth/a.origHeight)));a.width=
77parseInt(a.width,10);a.height=parseInt(a.height,10);b.css("display","block");var f=c("<div></div>").addClass("revolution_video_playerBorder"),g=c("<div></div>").addClass("revolution_video_player").addClass(a.skin),h=c('<div class="thumbsHolderWrapper"><div class="thumbsHolderVisibleWrapper"><div class="thumbsHolder"></div></div></div>  <div class="slider-vertical"></div>      <div class="selectedCategDiv"><div class="innerSelectedCategDiv">READING CATEGORIES...</div></div>     <div class="searchDiv"><input class="search_term" type="text" value="search..." /></div>  <div class="top_title">Movie Title</div>  <div class="the_timer">00:00/00:00</div>  <div class="videoBuffer"></div> <div class="videoSeek"></div>                <div class="all_controls">             <div class="firstset_controls">                          <div class="rewindBut" title="Rewind"></div><div class="playBut" title="Play/Pause"></div> <div class="volumeAll"><div class="volumeSlider"></div><div class="volumeBut" title="Mute/Unmute"></div></div> <div class="facebookBut" title="Facebook"></div><div class="twitterBut" title="Twitter"></div><div class="infoBut"  title="Info"></div><div class="downloadBut" title="Download File"></div>          </div>           <div class="showHidePlaylistBut" title="Show/Hide Playlist"></div><div class="fullscreenBut" title="FullScreen"></div>  <div class="shuffleBut" title="Shuffle"></div><div class="prevBut" title="Previous"></div><div class="nextBut" title="Next"></div>              </div>             <div class="videoInfoBox"></div>    <div class="playlistTopSpace"></div>');
78b.wrap(g);b.after(h);var e=b.parent(".revolution_video_player");e.wrap(f);var n=e.parent(".revolution_video_playerBorder"),l=c(".selectedCategDiv",e),p=c(".innerSelectedCategDiv",e),k=c(".searchDiv",e),m=c(".search_term",e),q=c(".nextBut",e),u=c(".prevBut",e),r=c(".shuffleBut",e),w=c(".top_title",e),v=c(".the_timer",e),E=c(".all_controls",e),x=c(".videoBuffer",e),D=c(".videoSeek",e),I=c(".rewindBut",e),t=c(".playBut",e),J=c(".volumeAll",e),M=c(".volumeBut",e),N=c(".volumeSlider",e),L=c(".facebookBut",
79e),K=c(".twitterBut",e),F=c(".infoBut",e),G=c(".downloadBut",e),A=c(".showHidePlaylistBut",e),B=c(".fullscreenBut",e),C=c(".videoInfoBox",e),P=c(".playlistTopSpace",e),f=Math.floor(1E5*Math.random()),g=c("<div></div>").addClass("lbg_player");b.append(g);var S="lbg_player"+f;c(".lbg_player",e).attr("id",S);g=c("<div></div>").addClass("lbg_vimeo_player");b.append(g);
79var O="lbg_vimeo_player"+f,R=ha(),ba=a.defaultEffect,d={current_img_no:0,currentImg:0,current_imgInside:"",windowWidth:0,carouselStep:0,
80thumbMarginTop:0,origThumbMarginTop:0,thumbsClicked:!1,windowWidth:0,haveYouTube:!1,haveVimeo:!1,haveSelfHosted:!1,html5_video_id:"html5_video_id_"+f,playerRatio:a.origWidth/a.origHeight,total_images:0,playlist_arr:"",category_arr:"",selectedCateg:"",categsAreListed:!1,numberOfCategories:0,selectedCateg:"",revolution_video_player_sliderVertical:"",search_val:"",is_very_first:!0,is_very_first_vimeo:!0,thumbsHolder_Thumb:"",thumbsHolder_Thumbs:c(".thumbsHolder_ThumbOFF",e),containerOrigPosition:"",
81containerOrigZindex:"",youTubeInterval:"",selfHostedInterval:"",vimeoInterval:"",bufferedTime:0,is_buffer_complete:!1,is_seeking:!1,totalTime:0,curTime:0,new_width:0,new_height:0,buttonsDistance:15,totalButtonsDistance:0,showPlaylistButOrigLeft:0,fullscreenButOrigLeft:0,origInfoWidth:0,origInfoHeight:0,origDownloadWidth:0,origDownloadHeight:0,buttonsDistanceSeekBar:7,totalButtonsDistanceSeekBar:0,minimalWidthSearch:360,minimalWidthDownload:370,minimalWidthInfo:340,showHidePlaylistMiliseconds:300,
82selectedCategHeight:0,additionalSelectedCategHeight:10,googleYouTubeCateg:"YouTube Videos",googleVimeoCateg:"Vimeo Videos",googleSelfHostedCateg:"Self-Hosted Videos",ajaxReturnedImagesNo:0,totalImagesNo:0,videoIsFullScreen:!1,youtubeWasStarted:-1,origBodyTopMargin:0,origBodyRightMargin:0,origBodyBottomMargin:0,origBodyLeftMargin:0,origBodyOverflow:"",origHtmlOverflow:"",origID:0,previousOrigID:0,player:!1,isYouTubeReady:!1,vimeo_player:!1,vimeo_iframe:!1};d.selectedCategHeight=a.borderWidth+d.additionalSelectedCategHeight;
83d.origInfoWidth=F.width();d.origInfoHeight=F.height();d.origDownloadWidth=G.width();d.origDownloadHeight=G.height();d.containerOrigPosition=e.css("position");d.containerOrigZindex=e.css("z-index");d.origBodyTopMargin=c("body").css("margin-top");d.origBodyRightMargin=c("body").css("margin-right");d.origBodyBottomMargin=c("body").css("margin-bottom");d.origBodyLeftMargin=c("body").css("margin-left");d.origBodyOverflow=c("body").css("overflow");d.origHtmlOverflow=c("html").css("overflow");var H=c(".thumbsHolderWrapper",
84e),W=c(".thumbsHolderVisibleWrapper",e),Q=c(".thumbsHolder",e);d.revolution_video_player_sliderVertical=c(".slider-vertical",e);var Y,Z,aa;H.css({background:a.playlistBgColor});a.showTopTitle?w.css({color:a.topTitleColor,top:-1*a.borderWidth+(a.borderWidth-w.height())/2+"px"}):w.css({display:"none"});a.showTimer?v.css({color:a.timerColor,top:-1*a.borderWidth+(a.borderWidth-v.height())/2+"px"}):v.css({display:"none"});n.width(a.width);n.height(a.height+a.playlistHeight+d.selectedCategHeight+a.playlistTopSpace+
85a.borderWidth);n.css({background:a.borderColor});a.centerPlayer&&n.css({margin:"0 auto"});d.new_width=parseInt(a.width-2*a.borderWidth,10);e.width(d.new_width);e.height(a.height-2*a.borderWidth);e.css({left:a.borderWidth+"px",top:a.borderWidth+"px"});P.width(a.width);P.css({height:a.playlistTopSpace+"px",background:a.playlistTopSpaceColor,top:a.height-a.borderWidth+"px",left:-1*a.borderWidth+"px"});c(".lbg_player",e).width(d.new_width);c(".lbg_player",e).height(e.height());c(".lbg_vimeo_player",e).width(d.new_width);
86c(".lbg_vimeo_player",e).height(e.height());W.width(d.new_width);W.height(a.playlistHeight);H.width(d.new_width);H.height(a.playlistHeight);H.css({top:a.height+a.playlistTopSpace+d.additionalSelectedCategHeight+"px",left:"0px"});Q.width(d.new_width);Q.css("top","0px");l.css({width:d.new_width+"px",height:d.selectedCategHeight+"px","background-color":a.selectedCategBg,"background-position":d.new_width-7+"px 50%",top:a.height-a.borderWidth+a.playlistTopSpace+"px",right:"0px"});p.css({color:a.selectedCategOffColor,
87"background-position":"0px "+parseInt((d.selectedCategHeight-4)/2,10)+"px","padding-top":parseInt((d.selectedCategHeight-p.height())/2,10)+"px"});var y=b.find("ul:first").children();d.playlist_arr=[];d.category_arr=[];var V=[];y.each(function(){d.currentImg=c(this);d.currentImg.is("li")||(d.currentImg=d.currentImg.find("li:first"));if(d.currentImg.is("li")){d.currentImg.css("display","none");d.total_images++;d.playlist_arr[d.total_images-1]=[];d.playlist_arr[d.total_images-1].title="";d.playlist_arr[d.total_images-
881].desc="";d.playlist_arr[d.total_images-1]["bottom-thumb"]="";d.playlist_arr[d.total_images-1].category="";d.playlist_arr[d.total_images-1].youtube="";d.playlist_arr[d.total_images-1].vimeo="";d.playlist_arr[d.total_images-1].selfhostedMP4="";d.playlist_arr[d.total_images-1].selfhostedWEBM="";void 0!=c(y[d.total_images-1]).attr("data-title")&&""!=c(y[d.total_images-1]).attr("data-title")&&(d.playlist_arr[d.total_images-1].title=c(y[d.total_images-1]).attr("data-title"));void 0!=c(y[d.total_images-
891]).attr("data-desc")&&""!=c(y[d.total_images-1]).attr("data-desc")&&(d.playlist_arr[d.total_images-1].desc=c(y[d.total_images-1]).attr("data-desc"));void 0!=c(y[d.total_images-1]).attr("data-bottom-thumb")&&""!=c(y[d.total_images-1]).attr("data-bottom-thumb")&&(d.playlist_arr[d.total_images-1]["bottom-thumb"]=c(y[d.total_images-1]).attr("data-bottom-thumb"));void 0!=c(y[d.total_images-1]).attr("data-youtube")&&""!=c(y[d.total_images-1]).attr("data-youtube")&&(d.playlist_arr[d.total_images-1].youtube=
90c(y[d.total_images-1]).attr("data-youtube"));void 0!=c(y[d.total_images-1]).attr("data-vimeo")&&""!=c(y[d.total_images-1]).attr("data-vimeo")&&(d.playlist_arr[d.total_images-1].vimeo=c(y[d.total_images-1]).attr("data-vimeo"));void 0!=c(y[d.total_images-1]).attr("data-selfhostedMP4")&&""!=c(y[d.total_images-1]).attr("data-selfhostedMP4")&&(d.playlist_arr[d.total_images-1].selfhostedMP4=c(y[d.total_images-1]).attr("data-selfhostedMP4"));void 0!=c(y[d.total_images-1]).attr("data-selfhostedWEBM")&&""!=
91c(y[d.total_images-1]).attr("data-selfhostedWEBM")&&(d.playlist_arr[d.total_images-1].selfhostedWEBM=c(y[d.total_images-1]).attr("data-selfhostedWEBM"));if(void 0!=c(y[d.total_images-1]).attr("data-category")&&""!=c(y[d.total_images-1]).attr("data-category")){d.playlist_arr[d.total_images-1].category=c(y[d.total_images-1]).attr("data-category")+";";V=c(y[d.total_images-1]).attr("data-category").split(";");for(var a=0;a<V.length;a++)-1===d.category_arr.indexOf(V[a])&&d.category_arr.push(V[a])}void 0!=
92c(y[d.total_images-1]).attr("data-youtube")&&""!=c(y[d.total_images-1]).attr("data-youtube")&&(d.haveYouTube=!0);void 0!=c(y[d.total_images-1]).attr("data-vimeo")&&""!=c(y[d.total_images-1]).attr("data-vimeo")&&(d.haveVimeo=!0);void 0!=c(y[d.total_images-1]).attr("data-selfhostedMP4")&&""!=c(y[d.total_images-1]).attr("data-selfhostedMP4")&&(d.haveSelfHosted=!0)}});d.numberOfCategories=d.category_arr.length;d.category_arr.sort();d.selectedCateg=a.firstCateg;""==a.firstCateg&&-1===d.category_arr.indexOf(a.firstCateg)&&
93(d.selectedCateg=d.category_arr[0]);p.html(d.selectedCateg);Y=c(".thumbsHolder_ThumbOFF .padding",e);Z=c(".thumbsHolder_ThumbOFF .title",e);aa=c(".thumbsHolder_ThumbOFF .reg",e);for(d.totalImagesNo=0;d.totalImagesNo<d.playlist_arr.length;d.totalImagesNo++)""!=d.playlist_arr[d.totalImagesNo].youtube&&a.getYouTubeData?c.get(a.pathToAjaxFiles+"get_gdata.php",{cur_i:d.totalImagesNo,youtubeID:d.playlist_arr[d.totalImagesNo].youtube},function(b){d.ajaxReturnedImagesNo++;b=b.split("#----#");the_i=parseInt(b[0],
9410);if(void 0==d.playlist_arr[the_i]["bottom-thumb"]||""==d.playlist_arr[the_i]["bottom-thumb"])d.playlist_arr[the_i]["bottom-thumb"]=b[1];if(void 0==d.playlist_arr[the_i].title||""==d.playlist_arr[the_i].title)d.playlist_arr[the_i].title=b[2];if(void 0==d.playlist_arr[the_i].desc||""==d.playlist_arr[the_i].desc)d.playlist_arr[the_i].desc=b[3];the_i==a.firstVideo&&la(d,a,C);d.ajaxReturnedImagesNo==d.totalImagesNo&&ia(d,a,e,Q,H,W,l,k,Y,Z,aa,w,x,D,v,t,C,E,A,B,O,S,I,J,L,K,F,G,R)}):d.ajaxReturnedImagesNo++;
95a.getYouTubeData?d.haveYouTube||ia(d,a,e,Q,H,W,l,k,Y,Z,aa,w,x,D,v,t,C,E,A,B,O,S,I,J,L,K,F,G,R):ia(d,a,e,Q,H,W,l,k,Y,Z,aa,w,x,D,v,t,C,E,A,B,O,S,I,J,L,K,F,G,R);f=c("<div></div>").addClass("largePlayButton");e.append(f);c(".largePlayButton",e).click(function(){t.click()});T(d,d.origID)&&c(".largePlayButton",e).css({display:"none"});f=c("<div></div>").addClass("fullscreenVimeoButton");e.append(f);c(".fullscreenVimeoButton",e).mouseover(function(){c(this).css({background:"url("+a.absUrl+"skins/"+a.skin+
96"/fullscreenvimeo.png) no-repeat left bottom"})});c(".fullscreenVimeoButton",e).mouseout(function(){c(this).css({background:"none"})});f=c('<a href="'+a.logoLink+'" target="'+a.logoTarget+'"><img src="'+a.logoImagePath+'"></a>').addClass("yourLogo");e.append(f);a.showLogo||c(".yourLogo",e).css({display:"none"});a.showRewindBut&&I.click(function(){var a;fa(d,d.origID)&&(document.getElementById(d.html5_video_id).currentTime=0,document.getElementById(d.html5_video_id).play());T(d,d.origID)&&0!=d.isYouTubeReady&&
97(a=-1!=z.indexOf("ipad")||-1!=z.indexOf("iphone")||-1!=z.indexOf("ipod")||-1!=z.indexOf("webos")||-1!=navigator.userAgent.indexOf("Android")?d.youtubeWasStarted==YT.PlayerState.PLAYING?!0:!1:!0)&&(d.player.seekTo(0),d.player.playVideo())});a.showPlayBut&&(t.mouseover(function(){t.css({"background-color":a.playButColorOn})}),t.mouseout(function(){t.css({"background-color":a.playButColorOff})}),t.click(function(){var a;fa(d,d.origID)&&(t.hasClass("pauseBut")?(document.getElementById(d.html5_video_id).pause(),
98t.removeClass("pauseBut")):(document.getElementById(d.html5_video_id).play(),t.addClass("pauseBut")));T(d,d.origID)&&0!=d.isYouTubeReady&&(a=-1!=z.indexOf("ipad")||-1!=z.indexOf("iphone")||-1!=z.indexOf("ipod")||-1!=z.indexOf("webos")||-1!=navigator.userAgent.indexOf("Android")?d.youtubeWasStarted==YT.PlayerState.PLAYING?!0:!1:!0)&&(t.hasClass("pauseBut")?(d.player.pauseVideo(),t.removeClass("pauseBut")):(d.player.playVideo(),t.addClass("pauseBut")))}));a.showVolumeBut&&(N.slider({value:a.initialVolume,
99orientation:"vertical",range:"max",max:1,step:.05,animate:!0,slide:function(b,f){c("iframe",e).css({"pointer-events":"none"});a.initialVolume=f.value;T(d,d.origID)&&0!=d.isYouTubeReady&&(d.player.unMute(),M.removeClass("volumeButtonMute"),d.player.setVolume(100*a.initialVolume));fa(d,d.origID)&&(document.getElementById(d.html5_video_id).muted=!1,document.getElementById(d.html5_video_id).volume=a.initialVolume,M.removeClass("volumeButtonMute"))},stop:function(a,b){c("iframe",e).css({"pointer-events":"auto"})}}),
100N.css({background:a.volumeOnColor}),N.css({"border-color":a.volumeOffColor}),c(".ui-slider-range",N).css({background:a.volumeOffColor}),J.mouseover(function(){N.css({display:"block"})}),J.mouseout(function(){N.css({display:"none"})}),M.click(function(){d.haveYouTube&&0!=d.isYouTubeReady&&(d.player.isMuted()?(M.removeClass("volumeButtonMute"),d.player.setVolume(100*a.initialVolume),d.player.unMute()):(M.addClass("volumeButtonMute"),a.initialVolume=d.player.getVolume()/100,d.player.setVolume(0),d.player.mute()));
101d.haveSelfHosted&&(1==document.getElementById(d.html5_video_id).muted?(document.getElementById(d.html5_video_id).muted=!1,document.getElementById(d.html5_video_id).volume=a.initialVolume,M.removeClass("volumeButtonMute")):(document.getElementById(d.html5_video_id).muted=!0,a.initialVolume=document.getElementById(d.html5_video_id).volume,document.getElementById(d.html5_video_id).volume=0,M.addClass("volumeButtonMute")))}));a.showFacebookBut&&(window.fbAsyncInit=function(){FB.init({appId:a.facebookAppID,
102version:"v2.7",status:!0,cookie:!0,xfbml:!0})},function(a,b,c){var d=a.getElementsByTagName(b)[0];a.getElementById(c)||(a=a.createElement(b),a.id=c,a.src="//connect.facebook.com/en_US/sdk.js",d.parentNode.insertBefore(a,d))}(document,"script","facebook-jssdk"),L.click(function(){FB.ui({method:"feed",name:a.facebookShareTitle,caption:d.playlist_arr[d.origID].title,description:a.facebookShareDescription,link:document.URL},function(a){})}));a.showTwitterBut&&K.click(function(){window.open("https://twitter.com/intent/tweet?url="+
103document.URL+"&text="+d.playlist_arr[d.origID].title,"Twitter","status = 1, left = 430, top = 270, height = 550, width = 420, resizable = 0")});a.showInfoBut&&(F.click(function(){C.slideToggle(500,"easeOutCirc")}),la(d,a,C));a.showDownloadBut&&G.click(function(){T(d,d.origID)||U(d,d.origID)||window.open(a.pathToDownloadFile+"download.php?the_file="+d.playlist_arr[d.origID].selfhostedMP4)});A.click(function(){a.showPlaylistOnInit||H.css("visibility","visible");"none"!=H.css("display")?(a.playlistVisible=
104!1,n.animate({height:a.height},d.showHidePlaylistMiliseconds,function(){}),H.animate({display:"none"},d.showHidePlaylistMiliseconds,function(){H.css({display:"none"})}),a.showCategs&&l.css({display:"none"}),a.showSearch&&k.css({display:"none"}),a.isPlaylistSliderInitialized&&d.revolution_video_player_sliderVertical.css({visibility:"hidden"}),a.showNextPrevBut&&(q.css({display:"none"}),u.css({display:"none"})),a.showShuffleBut&&r.css({display:"none"})):(d.showHidePlaylistMiliseconds=300,a.playlistVisible=
105!0,n.animate({height:parseInt(a.height+a.playlistHeight+d.selectedCategHeight+a.playlistTopSpace+a.borderWidth,10)},d.showHidePlaylistMiliseconds,function(){}),H.animate({display:"block"},d.showHidePlaylistMiliseconds,function(){H.css({display:"block"})}),a.showCategs&&l.css({display:"block"}),a.isPlaylistSliderInitialized&&d.revolution_video_player_sliderVertical.css({visibility:"visible"}),a.showSearch&&k.css({display:"block"}),a.showNextPrevBut&&(q.css({display:"block"}),u.css({display:"block"})),
106a.showShuffleBut&&r.css({display:"block"}));ma(d,e,H,d.new_width)});a.showFullscreenBut&&(B.click(function(){screenfull.enabled&&-1==navigator.userAgent.indexOf("Android")?screenfull.toggle():pa(d,a,e,x,D,E,H,l,k,q,u,r,C,A,B,P)}),d.totalButtonsDistance+=d.buttonsDistance);c(".fullscreenVimeoButton",e).click(function(){screenfull.enabled&&-1==navigator.userAgent.indexOf("Android")?screenfull.toggle():pa(d,a,e,x,D,E,H,l,k,q,u,r,C,A,B,P)});T(d,d.origID)&&c(".fullscreenVimeoButton",e).css({display:"none"});
107screenfull.enabled&&-1==navigator.userAgent.indexOf("Android")&&document.addEventListener(screenfull.raw.fullscreenchange,function(){delayTime=50;11<=R&&(delayTime=200);setTimeout(function(){pa(d,a,e,x,D,E,H,l,k,q,u,r,C,A,B,P)},delayTime)});d.totalButtonsDistanceSeekBar=0;a.showNextPrevBut?(q.css({right:"0px",bottom:-1*(a.playlistTopSpace+d.selectedCategHeight+a.playlistHeight+q.height()+parseInt((a.borderWidth-q.height())/2,10))+"px"}),q.click(function(){d.categsAreListed||ca(1,d,a,e,Q,w,x,D,v,t,
108C,E,A,B,O)}),u.css({right:q.width()+d.buttonsDistanceSeekBar+"px",bottom:-1*(a.playlistTopSpace+d.selectedCategHeight+a.playlistHeight+u.height()+parseInt((a.borderWidth-u.height())/2,10))+"px"}),u.click(function(){d.categsAreListed||ca(-1,d,a,e,Q,w,x,D,v,t,C,E,A,B,O)}),d.totalButtonsDistanceSeekBar=3*d.buttonsDistanceSeekBar):(q.css({display:"none",width:0,height:0,padding:0,margin:0}),u.css({display:"none",width:0,height:0,padding:0,margin:0}));a.showShuffleBut?(r.css({right:q.width()+u.width()+
109d.totalButtonsDistanceSeekBar+"px",bottom:-1*(a.playlistTopSpace+d.selectedCategHeight+a.playlistHeight+r.height()+parseInt((a.borderWidth-r.height())/2,10))+"px"}),a.shuffle&&r.addClass("VideoShuffleON"),r.click(function(){a.shuffle?(r.removeClass("VideoShuffleON"),a.shuffle=!1):(r.addClass("VideoShuffleON"),a.shuffle=!0)})):r.css({display:"none",width:0,height:0,padding:0,margin:0});Q.swipe({swipeStatus:function(b,c,e,f,g,h){"up"!=e&&"down"!=e||0==f||(currentScrollVal=d.revolution_video_player_sliderVertical.slider("value"),
110currentScrollVal="up"==e?currentScrollVal-1.5:currentScrollVal+1.5,d.revolution_video_player_sliderVertical.slider("value",currentScrollVal),da(currentScrollVal,Q,a,d))},threshold:100,maxTimeThreshold:500,fingers:"all"});k.css({width:d.new_width+"px","background-color":a.searchAreaBg,top:a.height+a.playlistTopSpace+d.additionalSelectedCategHeight+a.playlistHeight+parseInt((a.borderWidth-k.height())/2,10)+"px",left:0*a.borderWidth+"px"});m.val(a.searchInputText);m.css({width:"200px","background-color":a.searchInputBg,
111"border-color":a.searchInputBorderColor,color:a.searchInputTextColor});void 0!=d.currentImg.vimeo&&""!=d.currentImg.vimeo&&ea(d,a,e,x,D,E,"none");a.showSearch?(m.on("click",function(){c(this).val("")}
111),m.on("input",function(){d.search_val=m.val().toLowerCase();ia(d,a,e,Q,H,W,l,k,Y,Z,aa,w,x,D,v,t,C,E,A,B,O,S,I,J,L,K,F,G,R)})):m.css({display:"none"});a.showCategs?(l.click(function(){d.search_val="";m.val(a.searchInputText);va(d,a,e,Q,H,W,l,p,k,Y,Z,aa,w,x,D,v,t,C,E,A,B,O,S,I,J,L,K,F,G)}),l.mouseover(function(){p.css({color:a.selectedCategOnColor})}),
112l.mouseout(function(){p.css({color:a.selectedCategOffColor})})):l.css({display:"none"});a.origWidth!=a.width&&(f=10,a.getYouTubeData&&(f=1500),setTimeout(function(){na(d,a,ba,b,h,e,n,Q,W,H,Y,Z,aa,l,p,k,m,I,t,J,L,K,F,G,A,B,q,u,r,x,D,E,O,P)},f));a.showPlaylistOnInit||(d.showHidePlaylistMiliseconds=0,H.css("visibility","hidden"),setTimeout(function(){A.click()},10));var X=!1,ja=!0;c(window).resize(function(){var f=ha();ja=!0;-1!=f&&9==f&&0==d.windowWidth&&(ja=!1);d.windowWidth==c(window).width()?(ja=
113!1,a.windowCurOrientation!=window.orientation&&-1!=navigator.userAgent.indexOf("Android")&&(a.windowCurOrientation=window.orientation,ja=!0)):d.windowWidth=c(window).width();a.responsive&&ja&&(!1!==X&&clearTimeout(X),X=setTimeout(function(){na(d,a,ba,b,h,e,n,Q,W,H,Y,Z,aa,l,p,k,m,I,t,J,L,K,F,G,A,B,q,u,r,x,D,E,O,P)},300))})})};c.fn.myReverse=[].reverse;c.fn.revolution_video_player.defaults={skin:"whiteControllers",width:616,height:364,width100Proc:!1,height100Proc:!1,shuffle:!1,first
113Video:0,initialVolume:1,
114loop:!0,showCategs:!0,showSearch:!0,showTopTitle:!0,showTimer:!0,showRewindBut:!0,showPlayBut:!0,showVolumeBut:!0,showFacebookBut:!0,facebookAppID:"",facebookShareTitle:"Revolution Video Player - With Bottom Playlist",facebookShareDescription:"A top-notch responsive HTML5 Video Player compatible with all major browsers and mobile devices.",showTwitterBut:!0,showInfoBut:!0,showDownloadBut:!0,showPlaylistBut:!0,showFullscreenBut:!0,showShuffleBut:!0,showNextPrevBut:!0,borderWidth:20,borderColor:"#000000",
115centerPlayer:!1,absUrl:"",pathToDownloadFile:"",suggestedQuality:"default",controlsBgFullScreenColor:"#000000",playlistVisible:!0,playlistScrollerBgColorOFF:"#CCCCCC",playlistScrollerBgColorON:"#FFFFFF",responsive:!0,responsiveRelativeToBrowser:!1,numberOfThumbsPerScreen:0,origNumberOfThumbsPerScreen:0,logoImagePath:"skins/logo_watermark.png",logoLink:"http://codecanyon.net/user/LambertGroup?ref=LambertGroup",logoTarget:"_blank",showLogo:!0,autoPlayFirstVideo:!0,playlistHeight:290,playlistTopSpace:2,
116playlistTopSpaceColor:"#FFFFFF",playlistRecordShowImg:!0,playlistRecordShowTitle:!0,playlistRecordShowDesc:!0,playlistRecordHeight:89,playlistRecordPadding:10,playlistTitleFontSize:15,playlistTitleLineHeight:19,playlistDescFontSize:12,playlistDescLineHeight:15,playlistRecordBgOffColor:"#000000",playlistRecordTitleOffColor:"#CCCCCC",playlistRecordDescOffColor:"#CCCCCC",playlistRecordBgOffImgOpacity:100,playlistRecordBgOnColor:"#434343",playlistRecordTitleOnColor:"#FFFFFF",playlistRecordDescOnColor:"#FFFFFF",
117playlistRecordBgOnImgOpacity:100,playlistBgColor:"#4a4a4a",playlistRecordTitleLimit:50,playlistRecordDescLimit:260,getYouTubeData:!1,pathToAjaxFiles:"",showPlaylistOnInit:!0,categoryRecordBgOffColor:"#000000",categoryRecordBgOnColor:"#252525",categoryRecordBottomBorderOffColor:"#333333",categoryRecordBottomBorderOnColor:"#333333",categoryRecordTextOffColor:"#4c4c4c",categoryRecordTextOnColor:"#cccccc",firstCateg:"",selectedCategBg:"transparent",selectedCategOffColor:"#cccccc",selectedCategOnColor:"#ffffff",
118searchAreaBg:"transparent",searchInputText:"search...",searchInputBg:"#cccccc",searchInputBorderColor:"#000000",searchInputTextColor:"#333333",topTitleColor:"#FFFFFF",timerColor:"#FFFFFF",bufferEmptyColor:"#454545",bufferFullColor:"#333333",seekbarColor:"#CCCCCC",volumeOffColor:"#454545",volumeOnColor:"#ffffff",isBufferInitialized:!1,isSeekBarInitialized:!1,playButColorOff:"#595959",playButColorOn:"#595959",youtubeJsUrl:"https://www.youtube.com/iframe_api",vimeoJsUrl:"http://a.vimeocdn.com/js/froogaloop2.min.js",
119googleTrakingOn:!1,googleTrakingCode:"",origWidth:0,origHeight:0,origThumbW:0,origThumbH:0,origThumbImgW:80,origThumbImgH:80,origthumbLeftPadding:0,origthumbRightPadding:0,origthumbTopPadding:0,origthumbBottomPadding:0,origthumbTitleFont:0,origthumbRegFont:0,origthumbTitleLineHeight:0,origthumbRegLineHeight:0,origthumbsHolder_MarginTop:0,windowOrientationScreenSize0:0,windowOrientationScreenSize90:0,windowOrientationScreenSize_90:0,windowCurOrientation:0,isPlaylistSliderInitialized:!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.