(function(udef){ if(!window._Rumble){ var b='Rumble',r=window; r._Rumble = b, r[b] || (r[b] = function() { r[b]._.push(arguments); }); r[b]._=r[b]._||[]; } if(window._Rumble&&(t=window[_Rumble])&&t._){ if(!t.videos)t.videos={}; t.videos["v1y4bl"]={"u":"https://i.rmbl.ws/s8/2/V/G/p/D/VGpDa.caa.1.mp4","w":640,"h":360,"ua":{"480":["https://i.rmbl.ws/s8/2/V/G/p/D/VGpDa.caa.1.mp4","https://i.rmbl.ws/s8/2/V/G/p/D/VGpDa.daa.1.webm"],"360":["https://i.rmbl.ws/s8/2/V/G/p/D/VGpDa.baa.1.mp4",0]},"i":"https://i.rmbl.ws/s8/6/V/G/p/D/VGpDa.OvCc.1.jpg","l":"/v4kawf-gov.-andrew-cuomos-comments-on-conviction-of-campaign-manager-joe-percoco..html","r":1,"evt":{"v":"/l/view...1y4bl.mpqfx6","e":"/l/pte...1y4bl.548fvz","t":"/l/timeline...1y4bl.113.9ayft8"},"title":"Gov. Andrew Cuomo&lsquo;s comments on conviction of campaign manager Joe Percoco.","player":{"logo":{"tw":75,"th":22,"path":" ","w":200,"h":100,"link":"https://rumble.com/user/BPR/"},"timestamp":1518799334,"colors":{"play":"#FFFFFF","scrubber":"#FFFFFF","hover":"#FFFFFF","background":"#B10000","hoverBackground":"#000000"}},"duration":113,"pubDate":"2018-03-14T16:05:06-04:00","loaded":1,"vid":3271521,"a":{"timeout":-1,"b":0,"u":"bt1g","aden":[1,0,1],"ref":"https://rumble.com/embedJS/ubt1g.v1y4bl/","a":".bt1g.bt1g.1y4bl.c.iv.1tkrgi4","ae":".bt1g.bt1g.1y4bl.c.iv.1dfvn3o","ap":[0,0],"f":{"preroll":[{"url":"https://pubads.g.doubleclick.net/gampad/ads?sz=640x480&iu=/101598325/Rumble_Tracking_Remnant&cust_params=enFb%3D1%26fbPlacement%3D358719497878746_426136674470361%26fullslot%3D1%26enFs%3D1%26enOl%3D0%26pubuid%3Dbt1g&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_position_start=1&url=https%3A%2F%2Frumble.com%2FembedJS%2Fubt1g.v1y4bl%2F&description_url=https%3A%2F%2Frumble.com%2Fv4kawf-gov.-andrew-cuomos-comments-on-conviction-of-campaign-manager-joe-percoco..html&correlator=1532069392","sys":12},{"url":"https://googleads.g.doubleclick.net/pagead/ads?client=ca-video-pub-7353644945201577&videoad_start_delay=0&description_url=https%3A%2F%2Frumble.com%2Fv4kawf-gov.-andrew-cuomos-comments-on-conviction-of-campaign-manager-joe-percoco..html&max_ad_duration=22000&channel=5216928009","sys":1}]}},"timeline":[0,0],"own":1,"restrict":[-3,0]};t.videos["v1y4bl"].loaded=new Date().getTime()/1000; if(!t.player){ var a,o; /* Include require libraries */ /* wload.js *//* Async Loader */ (function(){ var la={},modules={},requireModules=[]; t.include=function(n,f){ var s,e,d,i,g; if(!la[n]){ la[n]=1; e=n.match(/\.([a-z]+)([?#]|$)/); if(e&&(d=((e=e[1])=='js'?['type','text/javascript','src',n,'script']:(e=='css'?['rel','stylesheet','type','text/css','href',n,'link']:0)))){ g=function(a){ var h=function(){ if(!f())if(a)setTimeout(h,50) }; return a?h():h; }; s=document.createElement(d.pop()); for(i=0;i0){ requireModules.push([pm,f]); if(!dl)t.require(pm); }else{ f(); } }; t.reportLoaded=function(m){ if(modules[m])return; var i,j,c,e,r; modules[m]=1; r=requireModules; requireModules=[]; for(i=0;i'+d+'']; } t.svg={ play:t.svgenc(22,22,''), loader:t.svgenc(202,10,(function(){ var i,t='',c=22,s=(c-4)/2; for(i=0;i'; return t; }())) }; var r2d=function(v){return Math.round(parseFloat(v)*100)/100}, nextFrameApproach=(window.requestAnimationFrame?1:0), nextFrameFunctions={}; t.gt=function(s){return new Date().getTime()/(s?1000:1)}; t.elmDisplay=function(o,v,u){ if(v===u)return o.style.display!='none'; o.style.display=(v?'block':'none'); return o; } t.animate=function(o,css,time,exec,addid){ var t1=t.gt(),oc={},sc={},hpx={},k,i,v,to,tn,an='atick'+o.tagName+o.className+o.id+(addid?addid:''); if(o.atick)o.atick(1); for(k in css){ if(css.hasOwnProperty(k)){ an+=k; to=o.style[k].split(" "); tn=(""+css[k]).split(" "); oc[k]=[];sc[k]=[]; for(i=0;itime?1:ct/time; if(e)p=1; for(k in css){ if(css.hasOwnProperty(k)){ to=oc[k]; v=[]; for(i=0;i1?c.childNodes:c.firstChild); } t.elmCreate=function(t,c,i,h){ var e=document.createElement(t); if(h)e.innerHTML=h; if(c)e.className=c; if(i)e.id=i; return e; } /* player.js */var Player=function(o){ var p=this; for(var i in o){ if(o.hasOwnProperty(i))p[i]=o[i]; } p.hasima=1; var l={i:0,o:0,p:2,s:0},evts={}; p.addEvent=function(n,f,g){ if(!g)g=0; if(!evts[g])evts[g]={}; if(!evts[g][n])evts[g][n]=[]; if(evts[g][n].indexOf(f)<0)evts[g][n].push(f); }; p.removeEvent=function(n,f,g){ if(!g)g=0; if(!evts[g][n])return; if(g&&!f){ evts[g][n]=[]; }else{ var i=evts[g][n].indexOf(f); evts[g][n].splice(i,1); } }; p.triggerEvent=function(n,d){ var i,g,e; for(g in evts)if(evts[g][n]){ e=evts[g][n]; for(i=0;i'+t.svg.loader[2]+'') l.s=l.o.childNodes[0].childNodes[0]; p.p.appendChild(t.elmDisplay(l.o,0)); l.o.style.marginTop='60px'; l.p=2; } if(l.i>0&&v)return; if(!c)c=''; c+=' pLoader'; l.o.className=c; l.s.style.left='-109px'; if(l.i){ clearInterval(l.i); l.i=0; }else{ hi=l.o.style.opacity>0; } if(v){ l.i=setInterval(function(){ t.nextFrame('load'+p.id,function(){ l.p++; if(l.p>12)l.p=2; l.s.style.left=(-127+9*l.p)+'px'; }); },100); t.fades(l.o,1,200); }else{ if(hi)t.fades(l.o,0,100); } }; p.injectCSS=function(css){ var s=document.createElement('style'); if(s.styleSheet){ s.styleSheet.cssText=css; }else{ s.appendChild(document.createTextNode(css)); } p.p.appendChild(s); }; p.defaultSettings={'play':'#fff','scrubber':'#75a642','hover':'#fff','background':'#699c39','hoverBackground':'#303030'}; p.getSetting=function(g,k){ var c,r=false; if(p.vid && p.vid.player && p.vid.player[g]){ c=p.vid.player[g]; if(k && c[k])r=c[k]; if(!k)r=c; } if(!r&&p.defaultSettings[k])r=p.defaultSettings[k]; return r; }; p.loadVideoStyles=function(f){ var id='vid_'+p.vid.id,rpc='.rumblePlayerCont#'+id+' ',pc; p.p.id=id; if(p.hasStyle[rpc]&&!f)return; p.injectCSS(generateColorCSS(rpc)); p.hasStyle[rpc]=1; } var generateColorCSS=function(rpc){ var i,pc=[],k=['play','scrubber','hover','background','hoverBackground']; for(i=0;idiv{color:'+pc[0]+';background:'+pc[3]+';border:1px solid '+pc[3]+'}'+ rpc+'.bigPlayUI.ctp div svg{fill:'+pc[0]+'}'+ rpc+'.bigPlayUI.ctp:hover div svg{fill:'+pc[2]+'}'+ rpc+'.bigPlayUI:hover>div{background:'+pc[4]+';border:1px solid '+pc[4]+'}'+ '@media (hover: none){'+rpc+'.bigPlayUI:hover>div{background:'+pc[3]+';border:1px solid '+pc[3]+'}}'+ rpc+'.settings .bui li.active{color:'+pc[0]+'}'+ rpc+'.controls .icon{color:'+pc[0]+'}'+ rpc+'#playerui .scrub .l,'+rpc+'#playerui .scrub .p{background:'+pc[1]+'}'+ rpc+'.time:hover{color:'+pc[0]+'}'+ rpc+'#playerui .sound .p{background:'+pc[1]+'}'+ rpc+'.settings .bui li:hover,'+rpc+'.settings .bui li.active:hover{color:'+pc[0]+'}'+ rpc+'.settings .bui li.active{color:'+pc[0]+'}'+ rpc+'.pRelated li div{color:'+pc[0]+'}'+ rpc+'.pRelated li a:hover div{color:'+pc[0]+'}'+ rpc+'.pLoader div svg{color:'+pc[0]+'}'+ ''; } p.pbcheck=function(v){ var hq,t; if(t=v.match(/([&\?])b\=[0-9]+/))v=v.replace(t[0],t[1]); if(t=v.match(/([&\?])u\=[a-z0-9]+/i))v=v.replace(t[0],t[1]); v=v.replace('?&','?'); if(/\?$/.test(v))v=v.replace('?',''); hq=(v.indexOf('?')>0); v+=(hq?'&':'?')+'b='+(p.vid.a.b||0); return v+'&u='+(p.vid.a.u||0); }; p.loadVideo=function(vobj,s){ var vid, v; if(typeof(vobj)!='object') vobj = {id: vobj}; v = vobj.id; if(!s)return t.loadVideoPayload(v,function(){ p.loadVideo(vobj,1); }); if(t.videos[v].loaded<9){ if(s)throw('Unable to load video '+v); p.loading(1); return 2; } t.videos[v].cfg=vobj; t.videos[v].plays=0; vid=t.videos[v]; if(vid.restrict&&!p.checkRestrictions(vid.restrict)){ if(s)throw('Video is restricted'); p.loading(1); return 3; } /* parse cache object */ p.v.poster=vid.i; vid.id=v; p.vid=vid; p.v.src=p.pbcheck(vid.u); p.loadVideoStyles(); t.required(['ui'],function(){ var f=function(){ p.hasima=0; p.loading(0); },to=setTimeout(f,1000); t.required(['ui','ima3'],function(){ p.hasima=1; clearTimeout(to); }); }); p.triggerEvent('loadVideo',vid); t.resizePlayer(p.id,1); }; p.checkRestrictions=function(s){ return true; var d=document,u,b,l,f; if(!s||s[0]<=-3)return true; b=s[0];l=s[1]; try{u=(parent!==window?(d.referrer||parent.location.href):d.location.href)}catch(e){return false;} u=u.match(/^https?\:\/\/([^\/?#]+)(?:[\/?#]|$)/i); u=u?u[1].split('.').splice(-2).join('.'):u; f=u?l.indexOf(u)>-1:false; if(b==f)return false; return true; }; var createPlayer=function(){ var rpc='rumblePlayerCont',h,pc; h=t.html('
'+ '
'+t.svg.play[2]+'
'); p.d.appendChild(p.p=h); rpc='.'+rpc+' '; p.rsz=[0,0]; p.vpt=t.detectPlayer(p.v=h.firstChild); p.bp=h.childNodes[1]; p.hasStyle={}; pc=[p.getSetting('colors','play'),p.getSetting('colors','hover'),p.getSetting('colors','background')]; p.injectCSS( rpc+','+rpc+'*{font-family:Helvetica,Arial,sans-serif;font-weight:normal;line-height:normal;box-sizing:content-box;-webkit-box-sizing:content-box;text-size-adjust:auto;visibility:visible;opacity:1;background:none}'+ rpc+','+rpc+' #playerui,'+rpc+' #playerui *{width:auto;height:auto}'+ rpc+'.bigPlayUI{position:absolute;top:0;left:0;width:100%;height:100%;cursor:pointer}'+ rpc+'.bigPlayUI>div>svg{width:100%;height:100%;display:block}'+ rpc+'.bigPlayUI>div{position:absolute;left:50%;top:50%;fill:currentColor;width:24px;height:24px;padding:16px 24px;margin:-28px 0 0 -36px;cursor:pointer;border-radius:8px}'+ rpc+'.pLoader{width:72px;height:10px;padding:5px 10px;background:rgba(0,0,0,0.7);margin:60px 0 0 -46px;position:absolute;left:50%;top:50%;z-index:5000}'+ rpc+'.pLoader div{width:72px;height:10px;overflow:hidden;position:relative}'+ rpc+'.pLoader div svg{fill:currentColor;opacity:0.7;position:absolute}'+ generateColorCSS(rpc) ); p.loading(0,0,1); } createPlayer(); }; t.s={rd:'https://rumble.com'}; t.s.ru='/embedJS/ubt1g';t.s.ds={rel:5};t.s.rp=t.s.rd+t.s.ru+'/?request='; t.player={}; t.isMobile=navigator.userAgent.match(/android|iphone|ipod|ipad|Windows Phone/i); t.pageStart=t.gt(1); t.getPl=function(i){ if(typeof(i)=='object')return(i.d&&i.p&&i.v?i:0); return(t.player[i]?t.player[i]:0); } t.detectPlayer=function(e){ var h=['video/mp4; codecs="avc1.42E01E','video/webm; codecs="vp9, vorbis"']; return(e.canPlayType?(e.canPlayType(h[0])||e.canPlayType(h[0]+', mp4a.40.2"'))?0:(e.canPlayType(h[1])?1:0):0); } t.xhr=function(u,f){ var x=new XMLHttpRequest(); x.onreadystatechange=function(e){ var w; if(x.readyState==4&&x.status==200){ f(JSON.parse(x.responseText)); } } x.open('GET',t.s.rp+u); x.send(); } t.loadVideoPayload=function(v,f){ var q=[],i,cv; if(typeof(v)!='object')v=[v]; for(i=0;i0&&t.videos[cv].loaded+(v.length==1?900:1800)0){ t.xhr('video&v='+q[0],function(r){ var w=[],i,f,d={}; if(r.loaded){ d[q[0]]=r; }else{ d=r; } for(i in d){ while(f=t.videos[i].wait.pop()){ if(w.indexOf(f)<0)w.push(f); } t.videos[i]=d[i]; t.videos[i].loaded=(new Date()).getTime(); } for(i=0;iwin || f){ h=Math.floor(s[0]/16*9); if(c.vars.ia){ if(screen&&screen.heightwin||c.ui&&c.ui.fullscreen)h=0; } if(c.vid&&c.vid.a&&c.vid.a.aden&&c.vid.a.aden[2]&&h<360&&h!=0)h=360 if(c.rsz[0]!=s[0]||s[1]!=h)hasResized=1; if(s[1]!=h)c.p.style.height=h>0?(s[1]=h)+'px':'100%'; } if(!c.rsz||hasResized)c.rsz=s; if(hasResized)c.triggerEvent('resize'); } t.$play=function(pv){ var c,v=t.s.ds,i; for(i in pv)v[i]=pv[i]; if(!v.div){ if(!t.lastDiv)throw('No div was defined for the player'); v.div=t.lastDiv; } t.lastDiv=v.div; if(t.player[v.div]){ c=t.player[v.div]; /* check if it is still on the DOM */ if(!c.d.parentNode)c=0; } if(!c){ c=document.getElementById(v.div); if(!c)throw(v.div+' div not found'); t.player[v.div]=c=new Player({d:c,vid:0,id:v.div,vars:v}); } c.loadVideo(v.video); t.resizePlayer(v.div); } window.addEventListener('resize',function(){t.nextFrame('resize',t.resize)}); window.addEventListener('orientationchange',function(){setTimeout(function(){t.resize()},500)}); t._.push=function(e){e=Array.prototype.slice.call(e),t["$"+e.shift()].apply(t,e)}; for(o=-1,a=t._.length;++o