1)ytcfg.d()[a[0]]=a[1];else for(var k in a[0])ytcfg.d()[k]=a[0][k]}}; window.ytcfg.set(‘EMERGENCY_BASE_URL’, ‘/error_204?tx3djserrorx26levelx3dERRORx26client.namex3d1x26client.versionx3d2.20210202.08.03’);]]>=5)return;window.unhandledErrorCount+=1;window.unhandledErrorMessages[message]=true;var img=new Image;window.emergencyTimeoutImg=img;img.onload=img.onerror=function(){delete window.emergencyTimeoutImg}; var combinedLineAndColumn=err.lineNumber;if(!isNaN(err[«columnNumber»]))combinedLineAndColumn+=»:»+err[«columnNumber»];var stack=err.stack||»»;var values={«msg»:message,»type»:err.name,»client.params»:»unhandled window error»,»file»:err.fileName,»line»:combinedLineAndColumn,»stack»:stack.substr(0,500)};var thirdPartyScript=!err.fileName||err.fileName===»»;var replaced=stack.replace(/https://www.youtube.com//g,»»);if(replaced.match(/https?://[^/]+//))thirdPartyScript=true;else if(stack.indexOf(«trapProp»)>= 0&&stack.indexOf(«trapChain»)>=0)thirdPartyScript=true;var baseUrl=window[«ytcfg»].get(«EMERGENCY_BASE_URL»,»https://www.youtube.com/error_204?t=jserror&level=ERROR»);if(thirdPartyScript)baseUrl=baseUrl.replace(«level=ERROR»,»level=WARNING»);var parts=[baseUrl];for(var key in values){var value=values[key];if(value)parts.push(key+»=»+encodeURIComponent(value))}img.src=parts.join(«&»)}; (function(){function _getExtendedNativePrototype(tag){var p=this._nativePrototypes[tag];if(!p){p=Object.create(this.getNativePrototype(tag));var p$=Object.getOwnPropertyNames(window[«Polymer»].Base);for(var i=0,n=undefined;i

0),A=0;function B(a,b){this.width=a;this.height=b} B.prototype.aspectRatio=function(){return this.width/this.height}; B.prototype.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this}; B.prototype.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this}; B.prototype.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};function C(){var a=document;var b=»DIV»;»application/xhtml+xml»===a.contentType&&(b=b.toLowerCase());return a.createElement(b)} ;var D=new WeakMap;function E(a,b){for(var d=[a],e=b.length-1;0<=e;--e)d.push(typeof b[e],b[e]);return d.join("x0B")} ;function F(a,b,d){if(b instanceof B)d=b.height,b=b.width;else if(void 0==d)throw Error("missing height argument");a.style.width=G(b);a.style.height=G(d)} function G(a){"number"==typeof a&&(a=Math.round(a)+"px");return a} ;var H=window.yt&&window.yt.config_||window.ytcfg&&window.ytcfg.data_||{},I=["yt","config_"],J=x;I[0]in J||"undefined"==typeof J.execScript||J.execScript("var "+I[0]);for(var K;I.length&&(K=I.shift());)I.length||void 0===H?J[K]&&J[K]!==Object.prototype[K]?J=J[K]:J=J[K]={}:J[K]=H;function L(a){var b={};return a in H?H[a]:b} ;function M(a){var b=L("EXPERIMENTS_FORCED_FLAGS");a=void 0!==b[a]?b[a]:L("EXPERIMENT_FLAGS")[a];return"string"===typeof a&&"false"===a?!1:!!a} ;var N=function(a,b){function d(g){g=p(g);g.next();g=q(g);return b(e,g)} b=void 0===b?E:b;var e=y(a);return function(g){for(var h=[],f=0;f=1550-N()&&800<=a.height)e=!P(b)||1550<=a.width?e-432:e-382,P(b)&&(e-=N());else if(1E3=a.width&&P(b)?g=357:M("kevlar_watch_feed_big_thumbs")&&(g=382);e-=g;P(b)&&(e-=N())}else e-=48;e=Math.min(e,1280);var h=e*b;g=240;d&&(g=380);if(!(.5624>b)){var f=1327;M(«kevlar_watch_split_pane»)&&(f+=N());630>a.height&&657<=a.width||630<=a.height&&1E3<=a.width&&a.widthb?e=h/b:1E3a)} ;var Q=document.querySelector(«#player.skeleton #player-api»);if(Q){var R=.5625,S=Q.querySelector(«.html5-video-player»);S&&»function»===typeof S.getVideoAspectRatio&&(R=1/S.getVideoAspectRatio());var T=window.document,U=»CSS1Compat»==T.compatMode?T.documentElement:T.body,V=O(new B(U.clientWidth,U.clientHeight),R);F(Q,V)};}).call(this); ]]>OverPersAuteursrechtContactCreatorsAdverterenOntwikkelaarsVoorwaardenPrivacyBeleid en veiligheidZo werkt YouTubeNieuwe functies testen

© 2021 Google LLC

YouTube, een bedrijf van Google