Estube bajando doodles de google los jugables y los animados el problema es que cuando el doodle enlaza un video de youtube, quiero reemplazarlo por un video de la carpeta local de mi pc, asi lo hago offline pero no encuentro la manera de hacerlo ya que no se nada de js o sea 0% pero logre hacer funcionar muchos offline sin mas vueltas les dejo mas o menos las lineas donde "llama" al video de youtube, me gustaria cambiarlo y poder tomar el video desde la misma carpeta asi lo hago offline desde ya muchas gracias
aca esta parte del js original donde pide el video:
<pre><code>this.a.appendChild(this.w);this.s=pb();I(this.s,"height","100%","left","0","position","absolute","top","0","width","100%","zIndex",d);nb(this.s);this.a.onmousemove=this.s.onmousemove=function(a){if(a=a||window.event){var b=a.targetTouches&&a.targetTouches[0];a=b&&void 0!==b.pageX?[b.pageX,b.pageY]:void 0!==a.clientX?[a.clientX+("rtl"==document.dir?-1:1)*(document.body.scrollLeft||document.documentElement.scrollLeft||0),a.clientY+(document.body.scrollTop||document.documentElement.scrollTop||0)]:void 0!==
a.pageX?[a.pageX,a.pageY]:[0,0]}else a=[0,0];if(!f.v)f.v=a;else if(a[0]!=f.v[0]||a[1]!=f.v[1])Z(f),f.v=a};this.s.onclick=function(){return Z(f)};this.A.appendChild(this.s);this.A.appendChild(this.a)};t(Mc,N);Mc.prototype.g=function(){this.i&&window.clearTimeout(this.i);this.a&&(zc(this.a),this.a=null);Mc.C.g.call(this)};
var Z=function(a){a.a&&(I(a.a,"opacity","0.8","top",a.T+"px"),window.clearTimeout(a.i),a.i=window.setTimeout(function(){I(a.a,"opacity","0","top",a.H+"px")},2E3))},Y=function(a,b){var c,d=xb(a,b.M),e=pb();I(e,"cursor","pointer","height",d.height+"px","left",b.x+"px","top",b.y+"px","width",d.width+"px");var f=L(a,b.P),g=L(a,b.M);X(g,!1);c=c||e;S(c,"mouseover",function(){X(f,!1);X(g,!0)});S(c,"mouseout",function(){X(f,!0);X(g,!1)});e.appendChild(f);e.appendChild(g);return e};var Pc=function(a,b,c,d,e,f,g,k,n){var l=this;this.H=c;this.v=this.A=!1;this.s=0;this.o=k;this.w=-2;this.a=new Lc;if(Nc)l.a.log("mi");else{k=mb("hplogoyt");I(e,"overflow","hidden");I(k,"left","0","position","absolute","top",b+"px");e.appendChild(k);this.i=window.setTimeout(function(){l.a.log("t");g()},2E4);var v=function(){l.d&&(l.d.setPlaybackQuality("medium"),l.d.seekTo(d,!0),l.d.pauseVideo());l.a.log("r")},w=function(a){l.w=a.data;var b=window.YT.PlayerState;a.data!=b.PLAYING||l.A?a.data==b.PAUSED?
(window.clearTimeout(l.i),l.s++,window.YT&&window.YT.PlayerState&&window.YT.PlayerState.PAUSED==l.w&&1==l.s&&l.v&&l.d.playVideo()):a.data==b.ENDED&&(l.a.log("d"),f()):(window.clearTimeout(l.i),l.A=!0,l.a.log("p"),I(document.getElementById("hplogoyt"),"top","0"),l.o&&(l.k=new Mc(l.d,l.a,e,n+1,l.o)))},R=function(a){l.a.log("e",a.data);g()};k=function(){l.d=new window.YT.Player("hplogoyt",{height:b,width:a,suggestedQuality:"medium",videoId:c,playerVars:{controls:"0",origin:window.location.protocol+"//"+
window.location.host,rel:"0",showinfo:"0",wmode:"transparent"},events:{onError:R,onReady:v,onStateChange:w}});l.a.log("a")};window.YT&&window.YT.Player?k():(window.onYouTubeIframeAPIReady=k,Oc(e))}};t(Pc,N);var Oc=function(a){var b=document.createElement("script");b.src="//www.youtube.com/iframe_api";a.appendChild(b)};Pc.prototype.g=function(){var a=document.getElementById("hplogoyt");a&&(X(a,!1),a.src&&(a.src=""));this.k&&this.k.G();Pc.C.g.call(this)};var Nc=Kc()||Jc();var Qc={Z:{en:"I'm #thankful for..."},get:function(){var a=window.google.kHL;return a in Qc.Z&&Qc.Z[a]?Qc.Z[a]:Qc.Z.en}};var Rc=null,Sc=null,Tc=null,Eb=null,Uc={I:J,$:J.a.la,play:{P:J.a.Ka,M:J.a.Va,x:46,y:5},pause:{P:J.a.Ia,M:J.a.Ja,x:46,y:5},left:{P:J.a.Wa,M:J.a.Xa,x:7,y:8},right:{P:J.a.Ca,M:J.a.Da,x:75,y:8},mute:{P:J.a.Ea,M:J.a.Fa,x:108,y:6},eb:{P:J.a.Ga,M:J.a.Ha,x:109,y:6}},Vc=!0,Wc=!1,$=null,Xc=null,Yc=0,$c=function(){$=new Fc(6E4,function(){Vc=!0},function(){Vc=!1;Wc||(Yc=s(),Zc())});Ab.listen(document,["mousemove","touchmove"],function(){$&&Dc($)});I(Sc,"background","url(/logos/2013/thanksgiving13/background.jpg) no-repeat 0 -215px");
Yc=s();Zc()},ad=function(){X(Tc,!1);M&&(M.G(),M=null)},Zc=function(){if(Vc)Wc=!1;else{Wc=!0;var a=s(),b=a-Yc;Yc=a;a=Xc;a.a.save();a.a.translate(a.o,0);a.a.drawImage(a.B,0,0);a.g&&K(J.a.da,a.a,211,112);a.k+=b;a.d=Math.floor(a.k/Cb);b=Gb[Math.floor(a.d/4)%Hb];K(b[0],a.a,b[1],b[2]);a.w&&(b=a.d-a.i,K(Nb[Math.floor(b/4)%Ob],a.a,138+6.875*b,116+1.25*Math.sin(b)),K(J.a.ea,a.a,138,112),28<b&&(a.o=-2*Math.pow(b-28,1.5)),a.a.fillStyle="#000",a.a.fillRect(500,0,1E3,215),K(J.a.fa,a.a,426,0),-500>a.o&&!a.v&&(a.A(),
a.v=!0));if(a.g){var b=Math.min(a.d-a.s,Jb),c=Ib[b];K(c[0],a.a,c[1],c[2]);9<=b&&0>a.i&&(a.w=!0,a.i=a.d)}a.g||(b=a.d%Mb,b>Lb||(b=Kb[b],K(b[0],a.a,b[1],b[2])));a.a.restore();vb(Zc)}},Db=function(){if(M){var a=M;Nc?(a.a.log("mr"),window.location.