PageSourceSearch

https://www.lifestreamnaz.org/hp_wordpress/wp-content/themes/SFWeb…/js/jquery.tubular.1.0.js?ver=8.5.1.34

js lifestreamnaz.org collected 2026-10-05 23:06:35 UTC 2,314 bytes, 1 lines download raw bytes

1/* See http://www.seanmccambridge.com/tubular */ ;(function(a,b){var c={ratio:16/9,mute:true,repeat:true,width:a(b).width(),wrapperZIndex:99,start:0};var d=false;var e=function(e,f){if(b.screen.width<480||navigator.userAgent.indexOf(' Android ')>-1||navigator.userAgent.indexOf('Windows Phone')>-1||(navigator.platform&&navigator.platform.match(/^(iPad|iPod|iPhone.*)$/)))return;var f=a.extend({},c,f),g=a(e);var h=_.uniqueId('tubular');var i='<div class="SFPLOverlay tubular-container" style="overflow: hidden; position: absolute; top:0; width: 100%; height: 100%"><div id="'+h+'" class="SFPLOverlay tubular-player" style="position: absolute;opacity:0"></div></div><div class="tubular-shield" style="width: 100%; height: 100%; position: absolute; left: 0; top: 0;"></div>';g.prepend(i);g.css({position:'relative','z-index':f.wrapperZIndex});b.player;var j=function(){player=new YT.Player(h,{width:f.width,height:Math.ceil(f.width/f.ratio),videoId:f.videoId,playerVars:{rel:0,controls:0,showinfo:0,modestbranding:1,wmode:'transparent'},events:{onReady:function(a){l();if(f.mute)a.target.mute();a.target.seekTo(f.start);a.target.playVideo();},onStateChange:function(b){if(b.data===0&&f.repeat)player.seekTo(f.start);else if(b.data===1)a('#'+h).show().css('opacity',1);},'onError':function(c){a(b).trigger('YTError',c);g.children('.tubular-container, .tubular-shield').hide();console.log(c);}}});d=true;};if(d)j();else{var k=b.onYouTubeIframeAPIReady;b.onYouTubeIframeAPIReady=function(){if(_.isFunction(k))k();j();};}var l=function(){var b,c,d,e,g=a('.tubular-player');if(g.length>0){var h=g.parent().parent().css('background-position','');b=h.width();d=h.height();var i=bgPosPercent(h),j=2*i[0],k=2*i[1];if(b/f.ratio<d){c=Math.ceil(d*f.ratio);g.width(c).height(d).css({left:j*((b-c)/2),top:0,maxWidth:'9999px'});}else{e=Math.ceil(b/f.ratio);g.width(b).height(e).css({left:0,top:k*((d-e)/2),maxWidth:'9999px'});}}};a(b).on('resize.tubular',function(){l();});};var f=_.once(function(){var a=document.createElement('script');a.src="https://www.youtube.com/iframe_api";var b=document.getElementsByTagName('script')[0];b.parentNode.insertBefore(a,b);});a.fn.tubular=function(b){f();return this.each(function(){if(!a.data(this,'tubular_instantiated'))a.data(this,'tubular_instantiated',e(this,b));});};})(jQuery,window);

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.