PageSourceSearch

https://isbcc.org/wp-content/plugins/lbg_html5_vp2_addon_visual_co…/js/vp2_html5_bottomPlaylist.js?ver=6.7.9

js isbcc.org collected 2026-10-02 08:32:58 UTC 20,923 bytes, 47 lines download raw bytes

1/*
2 * HTML5 Video Player with Bottom Playlist v5.1.2
3 *
4 * Copyright 2012-2019, LambertGroup
5 *
6*/
7
8(function(c){c.fn.vp2_html5_bottomPlaylist_Video=function(a){var d,ma,na,oa,C=!1,pa,qa,ra,V,W,sa,X,Y,ta,Z,O=!1,D,A,P;a=c.extend({skin:"universalBlack",initialVolume:1,showInfo:!0,autoPlayFirstMovie:!1,autoPlay:!0,loop:!0,autoHideControllers:!0,seekBarAdjust:255,borderWidth:12,borderColor:"#e9e9e9",numberOfThumbsPerScreen:6,thumbsReflection:50,isSliderInitialized:!1,isProgressInitialized:!1,responsive:!0,responsiveRelativeToBrowser:!1,centerPlugin:!1,width:0,height:0,width100Proc:!1,height100Proc:!1,
9showPlaylistOnInit:!0,showPlaylistBut:!0,autoPlayOnMobile:!1,setOrigWidthHeight:!0,thumbsOnMarginTop:0,origWidth:0,origHeight:0,origThumbW:0,origThumbH:0,origthumbsHolderWrapperH:121,origthumbsHolder_MarginTop:0,windowOrientationScreenSize0:0,windowOrientationScreenSize90:0,windowOrientationScreenSize_90:0,windowCurOrientation:0},a);var R=function(){var a=-1;if("Microsoft Internet Explorer"==navigator.appName){var c=navigator.userAgent,d=/MSIE ([0-9]{1,}[.0-9]{0,})/;null!=d.exec(c)&&(a=parseFloat(RegExp.$1))}else"Netscape"==
10navigator.appName&&(c=navigator.userAgent,d=/Trident\/.*rv:([0-9]{1,}[.0-9]{0,})/,null!=d.exec(c)&&(a=parseFloat(RegExp.$1)));return parseInt(a,10)}();return this.each(function(){function Q(){if(document.getElementById(d).readyState){A=document.getElementById(d).duration;v.slider({value:0,step:.01,orientation:"horizontal",range:"min",max:A,animate:!0,slide:function(){ba=!0},stop:function(a,E){ba=!1;document.getElementById(d).currentTime=E.value},create:function(E,b){a.isSliderInitialized=!0}});var E=
110;z.progressbar({value:E,create:function(E,b){a.isProgressInitialized=!0}});f.on("progress",function(){E=document.getElementById(d).buffered.end(document.getElementById(d).buffered.length-1);0<E&&z.progressbar({value:E*z.css("width").substring(0,z.css("width").length-2)/A})});n.show()}else setTimeout(Q,200)}var f=c(this);d=f.attr("id");var aa=0,G=0,w=0,ca=150,H=0,n=c('<div class="VideoControls"><a class="VideoRewind" title="Rewind"></a><a class="VideoPlay" title="Play/Pause"></a><div class="VideoBuffer"></div><div class="VideoSeek"></div><a class="VideoShowHidePlaylist" title="Show/Hide Playlist"></a><a class="VideoInfoBut" title="Info"></a><div class="VideoTimer">00:00</div><div class="VolumeAll"><div class="VolumeSlider"></div><a class="VolumeButton" title="Mute/Unmute"></a></div><a class="VideoFullScreen" title="FullScreen"></a></div> <div class="VideoInfoBox"></div>    <div class="thumbsHolderWrapper"><div class="thumbsHolderVisibleWrapper"><div class="thumbsHolder"></div></div></div>    </div>'),
12b=f.parent(".vp2_html5_bottomPlaylist"),r=b.parent(".vp2_html5_bottomPlaylistBorder");b.addClass(a.skin);b.append(n);n=c(".VideoControls",b);var p=c(".VideoInfoBox",b),Aa=c(".VideoRewind",b),I=c(".VideoPlay",b),z=c(".VideoBuffer",b),v=c(".VideoSeek",b),ua=c(".VideoInfoBut",b),F=c(".VideoShowHidePlaylist",b);if(!a.showInfo){ua.addClass("hideElement");H+=14;var S=F.css("right").substr(0,F.css("right").lastIndexOf("px"));F.css({right:S-18+"px"})}a.showPlaylistBut||(F.addClass("hideElement"),H+=25);var L=
13c(".VideoTimer",b),va=c(".VolumeAll",b),da=c(".VolumeSlider",b),x=c(".VolumeButton",b),J=c(".VideoFullScreen",b),e=c(".thumbsHolderWrapper",b),K=c(".thumbsHolderVisibleWrapper",b),t=c(".thumbsHolder",b);var u=c('<div class="carouselLeftNav"></div>');var m=c('<div class="carouselRightNav"></div>');e.append(u);e.append(m);m.css("left",e.width()-m.width()+"px");t.css("width",u.width()+"px");n.width(f.width());r.width(f.width()+2*a.borderWidth);r.height(f.height()+3*a.borderWidth+e.height());r.css("background",
14a.borderColor);b.css({width:f.width()+"px",height:f.height()+"px",top:a.borderWidth+"px",left:a.borderWidth+"px"});var q=navigator.userAgent.toLowerCase();!a.autoPlayOnMobile||-1==q.indexOf("ipad")&&-1==q.indexOf("iphone")&&-1==q.indexOf("ipod")&&-1==q.indexOf("webos")&&-1==navigator.userAgent.indexOf("Android")||(document.getElementById(d).muted=!0,document.getElementById(d).setAttribute("playsinline","playsinline"),x.removeClass("VolumeButton"),x.addClass("VolumeButtonMute"));-1==(-1==navigator.userAgent.indexOf("Opera")&&
15navigator.userAgent.indexOf("OPR"))&&(-1!=navigator.userAgent.indexOf("Chrome")&&-1!=navigator.vendor.indexOf("Google")&&a.autoPlayFirstMovie&&(document.getElementById(d).muted=!0,x.removeClass("VolumeButton"),x.addClass("VolumeButtonMute")),-1!=navigator.userAgent.indexOf("Safari")&&-1!=navigator.vendor.indexOf("Apple")&&-1==navigator.platform.indexOf("Win")&&(a.autoPlay=!1));0===a.initialVolume&&(document.getElementById(d).muted=!0,x.removeClass("VolumeButton"),x.addClass("VolumeButtonMute"));v.css("width",
16f[0].offsetWidth-a.seekBarAdjust+H+"px");z.css("width",v.css("width"));p.css("width",f[0].offsetWidth-40+"px");n.hide();a.origWidth=document.getElementById(d).offsetWidth;a.origHeight=document.getElementById(d).offsetHeight;a.width=a.origWidth;a.height=a.origHeight;pa=f.css("position");qa=f.css("left");ra=f.css("top");V=b[0].offsetWidth;W=b[0].offsetHeight;sa=b.css("position");X=b.css("left");Y=b.css("top");Z=p.css("position");ta=n.css("position");e.css("width",a.origWidth+"px");na=r.css("position");
17oa=r.css("z-index");videoContainerOrigZIndex=b.css("z-index");videoControllersOrigBottom=n.css("bottom");Z=p.css("position");a.responsive&&(a.width100Proc||a.height100Proc)&&(a.setOrigWidthHeight=!1);ma=c("html").css("overflow");n.css("width","100%");var ea=function(){return document.getElementById(d).canPlayType('video/mp4; codecs="avc1.42E01E, mp4a.40.2"')},Ba=function(){c(y[h]).addClass("thumbsHolder_ThumbON");N();var a=g[h].sources_webm,b=navigator.userAgent.toLowerCase();if(-1!=b.indexOf("chrome")||
18-1!=b.indexOf("msie")||-1!=b.indexOf("safari")||-1!=b.indexOf("android"))a=g[h].sources_mp4;if(-1!=b.indexOf("ipad")||-1!=b.indexOf("iphone")||-1!=b.indexOf("ipod")||-1!=b.indexOf("webos"))a=g[h].sources_mp4;-1!=b.indexOf("android")&&(a=g[h].sources_mp4);-1!=R&&(a=g[h].sources_mp4);
18-1!=b.indexOf("opera")&&(a=g[h].sources_webm,""!=ea()&&(a=g[h].sources_mp4));-1!=b.indexOf("opr/")&&(a=g[h].sources_webm,""!=ea()&&(a=g[h].sources_mp4));if(-1!=b.indexOf("firefox")||-1!=b.indexOf("mozzila"))a=g[h].sources_webm,
19""!=ea()&&(a=g[h].sources_mp4);return a},M=!1,B=0,h=0,k=0,T=0,g=[],l;c(".xplaylist",f).children().each(function(){currentElement=c(this);k++;g[k-1]=[];g[k-1].title="";g[k-1].desc="";g[k-1].thumb="";g[k-1].preview="";g[k-1].xsources_mp4="";g[k-1].xsources_ogv="";g[k-1].xsources_webm="";g[k-1].xsources_mp4v="";null!=currentElement.find(".xtitle").html()&&(g[k-1].title=currentElement.find(".xtitle").html());null!=currentElement.find(".xdesc").html()&&(g[k-1].desc=currentElement.find(".xdesc").html());
20null!=currentElement.find(".xthumb").html()&&(g[k-1].thumb=currentElement.find(".xthumb").html());null!=currentElement.find(".xpreview").html()&&(g[k-1].preview=currentElement.find(".xpreview").html());null!=currentElement.find(".xsources_mp4").html()&&(g[k-1].sources_mp4=currentElement.find(".xsources_mp4").html());null!=currentElement.find(".xsources_ogv").html()&&(g[k-1].sources_ogv=currentElement.find(".xsources_ogv").html());null!=currentElement.find(".xsources_webm").html()&&(g[k-1].sources_webm=
21currentElement.find(".xsources_webm").html());null!=currentElement.find(".xsources_mp4v").html()&&(g[k-1].sources_mp4v=currentElement.find(".xsources_mp4v").html());l=c('<div class="thumbsHolder_ThumbOFF" rel="'+(k-1)+'"><img src="'+g[k-1].thumb+'"></div>');t.append(l);T=Math.floor((a.origWidth-u.width()-m.width())/l.width());console.log(T+"  --   "+a.numberOfThumbsPerScreen);if(0==a.numberOfThumbsPerScreen||a.numberOfThumbsPerScreen>T)a.numberOfThumbsPerScreen=T;w=Math.floor((e.width()-u.width()-
22m.width()-l.width()*a.numberOfThumbsPerScreen)/(a.numberOfThumbsPerScreen-1));t.css("width",t.width()+w+l.width()+"px");1>=k?l.css("margin-left",Math.floor((e.width()-u.width()-m.width()-(w+l.width())*(a.numberOfThumbsPerScreen-1)-l.width())/2)+"px"):l.css("margin-left",w+"px");a.origThumbW=l.width();a.origThumbH=l.height();a.origthumbsHolderWrapperH=e.height();thumbsHolder_MarginTop=parseInt((e.height()-parseInt(l.css("height").substring(0,l.css("height").length-2)))/2)});K.css("width",K.width()-
23u.width()-m.width());K.css("left",u.width());G=(l.width()+w)*a.numberOfThumbsPerScreen;0===Math.floor(h/a.numberOfThumbsPerScreen)&&u.addClass("carouselLeftNavDisabled");Math.floor(h/a.numberOfThumbsPerScreen)==Math.floor(k/a.numberOfThumbsPerScreen)&&m.addClass("carouselRightNavDisabled");e.css("top",f[0].offsetHeight+a.borderWidth+"px");0<a.thumbsReflection&&(thumbsHolder_MarginTop-=7);S=c(".thumbsHolder_ThumbOFF",b).find("img:first");S.css("margin-top",thumbsHolder_MarginTop+"px");var Ca={opacity:a.thumbsReflection/
24100};0<a.thumbsReflection&&S.reflect(Ca);l.css("background-position","center "+a.thumbsOnMarginTop+"px");u.on("click",function(){M||(B=t.css("left").substr(0,t.css("left").lastIndexOf("px")),0>B&&N(1))});m.on("click",function(){M||(B=t.css("left").substr(0,t.css("left").lastIndexOf("px")),Math.abs(B-G)<(l.width()+w)*k&&N(-1))});var N=function(b){B=t.css("left").substr(0,t.css("left").lastIndexOf("px"));1===b||-1===b?(M=!0,t.css("opacity","0.5"),t.animate({opacity:1,left:"+="+b*G},500,"easeOutCubic",
25function(){wa();M=!1})):B!=-1*Math.floor(h/a.numberOfThumbsPerScreen)*G&&(M=!0,t.css("opacity","0.5"),t.animate({opacity:1,left:-1*Math.floor(h/a.numberOfThumbsPerScreen)*G},500,"easeOutCubic",function(){wa();M=!1}))},wa=function(){B=t.css("left").substr(0,t.css("left").lastIndexOf("px"));0>B?u.hasClass("carouselLeftNavDisabled")&&u.removeClass("carouselLeftNavDisabled"):u.addClass("carouselLeftNavDisabled");Math.abs(B-G)<(l.width()+w)*k?m.hasClass("carouselRightNavDisabled")&&m.removeClass("carouselRightNavDisabled"):
26m.addClass("carouselRightNavDisabled")},y=c(".thumbsHolder_ThumbOFF",b);y.on("click",function(){var b=c(this).attr("rel");h!=b&&(c(y[h]).removeClass("thumbsHolder_ThumbON"),h=b,fa(a.autoPlay))});y.on("mouseenter",function(){var a=c(this);a.attr("rel");a.addClass("thumbsHolder_ThumbON")});y.on("mouseleave",function(){var a=c(this),b=a.attr("rel");h!=b&&a.removeClass("thumbsHolder_ThumbON")});y.dblclick(function(a){a=c(this);a.attr("rel");a.addClass("thumbsHolder_ThumbON")});var fa=function(b){a.isSliderInitialized&&
27(v.slider("destroy"),a.isSliderInitialized=!1);a.isProgressInitialized&&(z.progressbar("destroy"),f.unbind("progress"),a.isProgressInitialized=!1);P="Infinity";document.getElementById(d).poster=g[h].preview;p.html('<p class="movieTitle">'+g[h].title+'</p><p class="movieDesc">'+g[h].desc+"</p>");document.getElementById(d).src=Ba();document.getElementById(d).load();var c=navigator.userAgent.toLowerCase();-1!=c.indexOf("ipad")||-1!=c.indexOf("iphone")||-1!=c.indexOf("ipod")||-1!=c.indexOf("webos")||
28-1!=c.indexOf("android")?(b?(document.getElementById(d).play(),I.addClass("VideoPause")):I.removeClass("VideoPause"),Q()):(clearInterval(P),P=setInterval(function(){0<document.getElementById(d).readyState&&!isNaN(document.getElementById(d).duration)&&"Infinity"!=document.getElementById(d).duration&&(A=document.getElementById(d).duration,Q(),b?(document.getElementById(d).play(),I.addClass("VideoPause")):I.removeClass("VideoPause"),clearInterval(P))},700))};fa(a.autoPlayFirstMovie);Aa.on("click",function(){document.getElementById(d).currentTime=
290;document.getElementById(d).play()});var ha=function(){0==document.getElementById(d).paused?document.getElementById(d).pause():document.getElementById(d).play()};I.click(ha);f.click(ha);f.on("play",function(){I.addClass("VideoPause")});f.on("pause",function(){I.removeClass("VideoPause")});-1==q.indexOf("ipad")&&-1==q.indexOf("iphone")&&-1==q.indexOf("ipod")&&-1==q.indexOf("webos")&&(b.on("mouseover",function(){a.autoHideControllers&&n.show()}),b.on("mouseout",function(){a.autoHideControllers&&120>
30va.css("height").substring(0,va.css("height").length-2)&&n.hide()}));b.keydown(function(a){32==a.keyCode&&ha()});var xa=function(){C=!0;J.removeClass("VideoFullScreen");J.addClass("VideoFullScreenIn");c("html").css("overflow","hidden");c("body").css("margin",0);c(".vp2_html5_bottomPlaylist").css("display","none");b.css("display","block");e.css({display:"none",opacity:"0"});if("none"!=e.css("display")){var d=window.innerHeight-e.height();var g=window.innerHeight-d+"px"}else d=window.innerHeight,g=
31videoControllersOrigBottom;f.css("position","fixed");f.css("width",window.innerWidth+"px");f.css("height",d+"px");f.css("top",0);f.css("left",0);b.css("position","fixed");b.css("width","100%");b.css("height","20000px");b.css("top",0);b.css("left",0);b.css("z-index",1E4);n.css("position","fixed");n.css("bottom",g);v.css("width",window.innerWidth-a.seekBarAdjust+H+"px");z.css("width",v.css("width"));p.css("position","fixed");p.css("width",window.innerWidth-40+"px");"none"!=e.css("display")&&p.css("margin-bottom",
32e.height()+"px");e.css("top",window.innerHeight-e.height()+"px");e.css("margin-left",Math.round((window.innerWidth-a.origWidth)/2))},ya=function(){C=!1;J.removeClass("VideoFullScreenIn");J.addClass("VideoFullScreen");c("body").css("margin",void 0);c("html").css("overflow",ma);c(".vp2_html5_bottomPlaylist").css("display","block");r.css("position",na);r.css("width",a.origWidth+2*a.borderWidth+"px");r.css("height",a.origHeight+3*a.borderWidth+e.height()+"px");r.css("background",a.borderColor);r.css("z-index",
33oa);b.css("position",sa);b.css("width",V+"px");b.css("height",W+"px");b.css("top",Y);b.css("left",X);b.css("z-index",videoContainerOrigZIndex);b.css("top",Y);b.css("left",X);n.css("position",ta);n.css({bottom:0,"margin-bottom":0});v.css("width",a.origWidth-a.seekBarAdjust+H+"px");z.css("width",v.css("width"));p.css("width",a.origWidth-40+"px");p.css("position",Z);p.css("margin-bottom","0px");f.css("position",pa);f.css("width",a.origWidth+"px");e.css({display:"block",opacity:"1"});var d="none"!=e.css("display")?
34a.origHeight:a.origHeight+e.height()+a.borderWidth;f.css("height",d+"px");b.css("height",d+"px");f.css("top",ra);f.css("left",qa);e.css("margin-left",0);e.css("top",f[0].offsetHeight+a.borderWidth+"px");a.responsive&&ia()};b.on("dblclick",function(){C||J.click()});J.on("click",function(){screenfull.enabled?(b.css("display","none"),screenfull.toggle(r[0]),screenfull.on("change",function(){a.responsive&&a.width!=a.origWidth&&!C&&(a.width=a.origWidth,a.height=a.origHeight,f.css("width",a.width+"px"),
35f.css("height",a.height+"px"),b.css("width",a.width+"px"),b.css("height",a.height+"px"),n.css("bottom",videoControllersOrigBottom),v.css("width",a.width-a.seekBarAdjust+H+"px"),z.css("width",v.css("width")),p.css("width",a.width-40+"px"),ja());setTimeout(function(){screenfull.isFullscreen?xa():ya()},500)})):(-1!=R||-1!=q.indexOf("ipad")||-1!=q.indexOf("iphone")||-1!=q.indexOf("ipod")||-1!=q.indexOf("webos"))&&a.responsive&&a.responsiveRelativeToBrowser&&a.width100Proc&&a.height100Proc||(C?ya():xa())});
36var ka=!1;L.on("mouseover",function(){ka=!0;D=document.getElementById(d).currentTime;A=document.getElementById(d).duration;L.text("-"+U(A-D))});L.on("mouseout",function(){ka=!1;D=document.getElementById(d).currentTime;A=document.getElementById(d).duration;L.text(U(D))});var ba=!1;Q();var U=function(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-60*b))};f.bind("timeupdate",function(){a.isSliderInitialized&&
37(D=document.getElementById(d).currentTime,A=document.getElementById(d).duration,ba||v.slider("value",D),ka?L.text("-"+U(A-D)):L.text(U(D)))});ua.on("click",function(){"giant"==a.skin?"none"==p.css("display")?p.fadeIn():p.fadeOut():p.slideToggle(300)});F.on("click",function(){if(!O)if(O=!0,"none"!=e.css("display")){var c=f[0].offsetHeight+a.borderWidth+e.height();F.addClass("VideoShowHidePlaylist_onlyShow");C?(n.css({bottom:0,"margin-bottom":0}),p.css("margin-bottom",0)):b.css("height",c+"px");e.animate({opacity:0}
37,
38ca,function(){e.css("display","none")});f.animate({height:c},300,function(){O=!1})}else c=f[0].offsetHeight-a.borderWidth-e.height(),F.removeClass("VideoShowHidePlaylist_onlyShow"),C?(n.css("margin-bottom",e.height()+"px"),p.css("margin-bottom",e.height()+"px")):b.css("height",a.height+"px"),e.css("display","block"),e.css("top",c+a.borderWidth+"px"),e.animate({opacity:1},600,function(){O=!1;N()}),f.animate({height:c},300,function(){})});a.showPlaylistOnInit||(ca=0,F.click(),ca=150);f[0].addEventListener("ended",
39function(b){a.loop&&-1==q.indexOf("android")&&(c(y[h]).removeClass("thumbsHolder_ThumbON"),h==k-1?h=0:h++,fa(a.autoPlay))},!1);var za=1;da.slider({value:a.initialVolume,orientation:"vertical",range:"min",max:1,step:.05,animate:!0,slide:function(a,b){document.getElementById(d).muted=!1;za=b.value;document.getElementById(d).volume=b.value}});document.getElementById(d).volume=a.initialVolume;x.click(function(){1==document.getElementById(d).muted?(document.getElementById(d).muted=!1,da.slider("value",
40za),x.removeClass("VolumeButtonMute"),x.addClass("VolumeButton")):(document.getElementById(d).muted=!0,da.slider("value","0"),x.removeClass("VolumeButton"),x.addClass("VolumeButtonMute"))});f.removeAttr("controls");a.centerPlugin&&r.css({margin:"0 auto"});var ja=function(){e.css({top:f[0].offsetHeight+a.borderWidth+"px",width:a.width+"px",height:parseInt(a.origthumbsHolderWrapperH/(a.origWidth/a.width),10)+"px"});thumbIconCorrection=-7;bgTopCorrection=0;1==a.origWidth/a.width&&0<a.thumbsReflection&&
41(bgTopCorrection=-7,thumbIconCorrection=0);u.css("background-position","0px "+((e.height()-a.origthumbsHolderWrapperH)/2+bgTopCorrection+3)+"px");m.css("background-position","0px "+((e.height()-a.origthumbsHolderWrapperH)/2+bgTopCorrection+3)+"px");m.css("left",e.width()-m.width()+"px");K.css("width",a.width-u.width()-m.width());a.origWidthThumbsHolderVisibleWrapper=a.origWidth-u.width()-m.width();y.css({width:parseInt(a.origThumbW/(a.origWidthThumbsHolderVisibleWrapper/K.width()),10)+"px",height:parseInt(a.origThumbH/
42(a.origWidthThumbsHolderVisibleWrapper/K.width()),10)+"px"});a.numberOfThumbsPerScreen>=k&&K.css("left",parseInt((e.width()-(l.width()+w)*k)/2,10)+parseInt(w/2,10)+"px");var d=c(".thumbsHolder_ThumbOFF",b).find("img:first");0<a.thumbsReflection&&d.unreflect();d.css({width:y.width()+"px",height:y.height()+"px","margin-top":parseInt((e.height()-y.height())/2,10)+bgTopCorrection+"px"});1==a.origWidth/a.width&&0<a.thumbsReflection&&d.reflect({opacity:a.thumbsReflection/100});w=Math.floor((e.width()-u.width()-
43m.width()-l.width()*a.numberOfThumbsPerScreen)/(a.numberOfThumbsPerScreen-1));thumb_i=-1;t.children().each(function(){thumb_i++;theThumb=c(this);theThumb.css("background-position","center "+parseInt((a.thumbsOnMarginTop-thumbIconCorrection)/(a.origWidth/a.width),10)+"px");0>=thumb_i?theThumb.css("margin-left",Math.floor((e.width()-u.width()-m.width()-(w+theThumb.width())*(a.numberOfThumbsPerScreen-1)-theThumb.width())/2)+"px"):theThumb.css("margin-left",w+"px")});G=(l.width()+w)*a.numberOfThumbsPerScreen};
44ja();var ia=function(){if(C)(-1!=q.indexOf("ipad")||-1!=q.indexOf("iphone")||-1!=q.indexOf("ipod")||-1!=q.indexOf("webos")||q.indexOf("android"))&&J.click();else if(responsiveWidth=r.parent().width(),responsiveHeight=r.parent().height(),a.responsiveRelativeToBrowser&&(responsiveWidth=c(window).width(),responsiveHeight=c(window).height()),a.width100Proc&&(a.width=responsiveWidth-1),a.height100Proc&&(a.height=responsiveHeight),a.origWidth!=responsiveWidth||a.width100Proc){a.origWidth>responsiveWidth||
45a.width100Proc?a.width=responsiveWidth:a.width100Proc||(a.width=a.origWidth);a.height100Proc||(a.height=a.width*a.origHeight/a.origWidth);a.width=responsiveWidth>a.width?parseInt(a.width,10):parseInt(a.width,10)-2*a.borderWidth;a.height=parseInt(a.height,10);var d=a.height;"none"==e.css("display")&&(d=a.height+a.borderWidth+e.height());f.css("width",a.width+"px");f.css("height",d+"px");b.css("width",a.width+"px");b.css("height",d+"px");n.css("bottom",videoControllersOrigBottom);v.css("width",a.width-
46a.seekBarAdjust+H+"px");z.css("width",v.css("width"));p.css("width",a.width-40+"px");a.setOrigWidthHeight||(a.origWidth=a.width,a.origHeight=a.height,V=b[0].offsetWidth,W=b[0].offsetHeight);ja();N();r.width(f.width()+2*a.borderWidth);"none"!=e.css("display")?r.height(f.height()+3*a.borderWidth+e.height()):r.height(d+2*a.borderWidth)}},la=!1;c(window).on("resize",function(){doResizeNow=!0;-1!=R&&9==R&&0==aa&&(doResizeNow=!1);aa==c(window).width()?(doResizeNow=!1,a.windowCurOrientation!=window.orientation&&
47-1!=navigator.userAgent.indexOf("Android")&&(a.windowCurOrientation=window.orientation,doResizeNow=!0)):aa=c(window).width();a.responsive&&doResizeNow&&(!1!==la&&clearTimeout(la),la=setTimeout(function(){ia()},300))});a.responsive&&ia()})};c.fn.vp2_html5_bottomPlaylist_Video.skins={}})(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.