"';h=goog.dom.createDom(goog.dom.TagName.IFRAME,{src:h, style:"display:none"});var k=goog.dom.getOwnerDocument(h).body;k.appendChild(h)}}else if(e)module$contents$google3$video$youtube$src$web$javascript$library$net$ajax_send(a,c,"POST",e,b);else if(module$contents$google3$video$youtube$web$core$config$config_get("USE_NET_AJAX_FOR_PING_TRANSPORT",!1)||b||g)module$contents$google3$video$youtube$src$web$javascript$library$net$ajax_send(a,c,"GET","",b,void 0,f,g);else{b=a;d=c;b:{e=b;try{var l=new module$exports$ads$click$clickUrl.ClickUrl({url:e});if(l.isAsyncEnabled()){var m= goog.uri.utils.getPath(e);k=!(!m||!m.endsWith("/aclk")||goog.uri.utils.getParamValue(e,"ri")!=="1");break b}}catch(n){}k=!1}if(k){b:{k=b;l=void 0;l=l===void 0?"":l;try{if(window.navigator&&window.navigator.sendBeacon&&window.navigator.sendBeacon(k,l)){h=!0;break b}}catch(n){}h=!1}h?(d&&d(),h=!0):h=!1}else h=!1;h||module$contents$google3$video$youtube$src$web$javascript$library$net$ping_imgPing(a,c)}}else b.compress?b.postBody?(typeof b.postBody!=="string"&&(b.postBody=JSON.stringify(b.postBody)), module$contents$google3$video$youtube$src$web$javascript$library$net$innertube$encode_gzipThenSend(a,b.postBody,b,module$contents$google3$video$youtube$src$web$javascript$library$net$ajax_sendWithOptions,d)):module$contents$google3$video$youtube$src$web$javascript$library$net$innertube$encode_gzipThenSend(a,JSON.stringify(b.postParams),b,module$contents$google3$video$youtube$src$web$javascript$library$net$ajax_postWithOptions,d):module$contents$google3$video$youtube$src$web$javascript$library$net$ajax_sendWithOptions(a, b)} function module$contents$google3$video$youtube$src$web$javascript$library$net$networkless$yt_networkless_request_controller_updateEventTimeMs(a,b){(0,module$exports$google3$video$youtube$web$core$experiments$experiments.getBooleanFlag)("use_event_time_ms_header")&&module$contents$google3$video$youtube$web$core$uri$uri_isSameOrigin(a)&&(b.headers||(b.headers={}),b.headers[module$exports$google3$video$youtube$web$core$network$headers.X_GOOG_EVENT_TIME]=JSON.stringify(Math.round((0,module$exports$google3$video$youtube$web$core$time$now.now)())));return b} function module$contents$google3$video$youtube$src$web$javascript$library$net$networkless$yt_networkless_request_controller_updateRequestTimeMs(a,b){if((0,module$exports$google3$video$youtube$web$core$experiments$experiments.getBooleanFlag)("use_request_time_ms_header"))return b.headers&&module$contents$google3$video$youtube$web$core$uri$uri_isSameOrigin(a)&&(b.headers[module$exports$google3$video$youtube$web$core$network$headers.X_GOOG_REQUEST_TIME]=JSON.stringify(Math.round((0,module$exports$google3$video$youtube$web$core$time$now.now)()))), b;var c;if((c=b.postParams)==null?0:c.requestTimeMs)b.postParams.requestTimeMs=Math.round((0,module$exports$google3$video$youtube$web$core$time$now.now)());return b}function module$contents$google3$video$youtube$src$web$javascript$library$net$networkless$yt_networkless_request_controller_containsOtherThan(a,b){if(Object.keys(a).length>b.length)return!0;var c=0;b=(0,$jscomp.makeIterator)(b);for(var d=b.next();!d.done;d=b.next())d=d.value,a.hasOwnProperty(d)&&c++;return Object.keys(a).length!==c} function module$contents$google3$video$youtube$src$web$javascript$library$net$networkless$yt_networkless_request_controller_initNetworklessEarly(){module$exports$google3$video$youtube$src$web$javascript$library$net$networkless$yt_networkless_request_controller.YtNetworklessRequestController.getInstance()}module$exports$google3$video$youtube$src$web$javascript$library$net$networkless$yt_networkless_request_controller.initNetworklessEarly=module$contents$google3$video$youtube$src$web$javascript$library$net$networkless$yt_networkless_request_controller_initNetworklessEarly; function module$contents$google3$video$youtube$src$web$javascript$library$net$networkless$yt_networkless_request_controller_getNetworkStatusManager(){module$contents$google3$video$youtube$src$web$javascript$library$net$networkless$yt_networkless_request_controller_networkStatusManagerPublic||(module$contents$google3$video$youtube$src$web$javascript$library$net$networkless$yt_networkless_request_controller_networkStatusManagerPublic=new module$exports$google3$video$youtube$web$core$network$network_status_manager$network_status_manager_public.NetworkStatusManagerPublic({logOfflineErrors:!0, enablePolling:!0}));return module$contents$google3$video$youtube$src$web$javascript$library$net$networkless$yt_networkless_request_controller_networkStatusManagerPublic}module$exports$google3$video$youtube$src$web$javascript$library$net$networkless$yt_networkless_request_controller.getNetworkStatusManager=module$contents$google3$video$youtube$src$web$javascript$library$net$networkless$yt_networkless_request_controller_getNetworkStatusManager; function module$contents$google3$video$youtube$src$web$javascript$library$net$networkless$yt_networkless_request_controller_decorateRequestOptionsWithMonitoring(a,b){var c=b.onError?b.onError:function(){};b.onError=function(e,f){module$exports$google3$video$youtube$web$core$network$network_status_manager$cfr_monitor$request_monitor.NetworkRequestMonitor.getInstance().requestComplete(a,!1);c(e,f)};var d=b.onSuccess?b.onSuccess:function(){};b.onSuccess=function(e,f){module$exports$google3$video$youtube$web$core$network$network_status_manager$cfr_monitor$request_monitor.NetworkRequestMonitor.getInstance().requestComplete(a, !0);d(e,f)}}module$exports$google3$video$youtube$src$web$javascript$library$net$networkless$yt_networkless_request_controller.decorateRequestOptionsWithMonitoring=module$contents$google3$video$youtube$src$web$javascript$library$net$networkless$yt_networkless_request_controller_decorateRequestOptionsWithMonitoring; function module$contents$google3$video$youtube$src$web$javascript$library$net$networkless$yt_networkless_request_controller_cookiesAllowed(){return(0,goog.uri.utils.getDomain)(document.location.toString())!=="www.youtube-nocookie.com"}module$exports$google3$video$youtube$src$web$javascript$library$net$networkless$yt_networkless_request_controller.cookiesAllowed=module$contents$google3$video$youtube$src$web$javascript$library$net$networkless$yt_networkless_request_controller_cookiesAllowed; module$exports$google3$video$youtube$src$web$javascript$library$net$networkless$yt_networkless_request_controller.TEST_FNS={sendRequest:module$contents$google3$video$youtube$src$web$javascript$library$net$networkless$yt_networkless_request_controller_sendRequest,containsOtherThan:module$contents$google3$video$youtube$src$web$javascript$library$net$networkless$yt_networkless_request_controller_containsOtherThan,updateRequestTimeMs:module$contents$google3$video$youtube$src$web$javascript$library$net$networkless$yt_networkless_request_controller_updateRequestTimeMs, updateEventTimeMs:module$contents$google3$video$youtube$src$web$javascript$library$net$networkless$yt_networkless_request_controller_updateEventTimeMs,cookiesAllowed:module$contents$google3$video$youtube$src$web$javascript$library$net$networkless$yt_networkless_request_controller_cookiesAllowed};var module$contents$google3$video$youtube$src$web$javascript$library$net$networkless$networkless_request_handler_isNwlInitialized=!1,module$contents$google3$video$youtube$src$web$javascript$library$net$networkless$networkless_request_handler_networklessOptions=goog.global.ytNetworklessLoggingInitializationOptions||{isNwlInitialized:module$contents$google3$video$youtube$src$web$javascript$library$net$networkless$networkless_request_handler_isNwlInitialized}; goog.exportSymbol("ytNetworklessLoggingInitializationOptions",module$contents$google3$video$youtube$src$web$javascript$library$net$networkless$networkless_request_handler_networklessOptions);var module$exports$google3$video$youtube$src$web$javascript$library$net$innertube$xhrclient={XhrClient:function(a){var b=this;this.config_=null;a?this.config_=a:module$contents$google3$video$youtube$src$web$javascript$library$net$innertube$config_hasRequiredDefaultConfig()&&(this.config_=module$contents$google3$video$youtube$src$web$javascript$library$net$innertube$config_getDefaultEnvironmentConfig());module$exports$google3$video$youtube$web$core$network$flags.ENABLE_INNERTUBE_RETRIES&&module$exports$google3$video$youtube$web$core$scheduler$scheduler.scheduler.addIdlePriorityJob(function(){module$contents$google3$video$youtube$src$web$javascript$library$net$innertube$retry_sendStoredRequests(b)}, 5E3)}};module$exports$google3$video$youtube$src$web$javascript$library$net$innertube$xhrclient.XhrClient.prototype.isReady=function(){!this.config_&&module$contents$google3$video$youtube$src$web$javascript$library$net$innertube$config_hasRequiredDefaultConfig()&&(this.config_=module$contents$google3$video$youtube$src$web$javascript$library$net$innertube$config_getDefaultEnvironmentConfig());return!!this.config_}; module$exports$google3$video$youtube$src$web$javascript$library$net$innertube$xhrclient.XhrClient.prototype.buildSkeletonRequest=function(){var a=this.config_||module$contents$google3$video$youtube$src$web$javascript$library$net$innertube$config_getDefaultEnvironmentConfig();var b={client:{hl:a.innertubeContextHostLanguage,gl:a.innertubeContextGeoLocation,clientName:a.innertubeContextClientName,clientVersion:a.innertubeContextClientVersion,configInfo:a.innertubeContextClientConfigInfo}};navigator.userAgent&& (b.client.userAgent=String(navigator.userAgent));var c=goog.global.devicePixelRatio;c&&c!=1&&(b.client.screenDensityFloat=String(c));c=(0,module$exports$google3$video$youtube$web$core$experiments$experiments.getExperimentsToken)();c!==""&&(b.client.experimentsToken=c);c=(0,module$exports$google3$video$youtube$web$core$experiments$experiments.getForcedFlags)();c.length>0&&(b.request={internalExperimentFlags:c});if(c=!module$exports$google3$video$youtube$web$core$network$flags.LIMITED_LOGGING_CONTEXT)c= a.innertubeContextClientName,c=c===module$contents$google3$video$youtube$src$web$javascript$library$net$innertube$config_ClientNameEnum.WEB||c===module$contents$google3$video$youtube$src$web$javascript$library$net$innertube$config_ClientNameEnum.MWEB||c===1||c===2;if(c&&b){var d;b.client.mainAppWebInfo=(d=b.client.mainAppWebInfo)!=null?d:{};b.client.mainAppWebInfo.webDisplayMode=module$exports$google3$video$youtube$web$contrib$offline$pwa_service.PwaService.getDisplayMode()}(d=goog.getObjectByName("yt.embedded_player.embed_url"))&& b&&(b.thirdParty={embedUrl:d});if(!module$exports$google3$video$youtube$web$core$network$flags.LIMITED_LOGGING_CONTEXT){var e;if((0,module$exports$google3$video$youtube$web$core$experiments$experiments.getBooleanFlag)("web_log_memory_total_kbytes")&&((e=goog.global.navigator)==null?0:e.deviceMemory)){var f;e=(f=goog.global.navigator)==null?void 0:f.deviceMemory;b&&(b.client.memoryTotalKbytes=""+e*1E6)}}a.appInstallData&&b&&(b.client.configInfo=b.client.configInfo||{},b.client.configInfo.appInstallData= a.appInstallData);if(!module$exports$google3$video$youtube$web$core$network$flags.LIMITED_LOGGING_CONTEXT){a:{if(f=module$contents$google3$video$youtube$web$core$innertube$context_util_getNavigatorConnection()){a=module$contents$google3$video$youtube$web$core$innertube$context_util_CONNECTION_TO_ENUM_MAP[f.type||"unknown"]||ytjstypedef.video.youtube.api.innertube.proto.logging.client_info_enums.ClientConnectionType.CONN_UNKNOWN;f=module$contents$google3$video$youtube$web$core$innertube$context_util_CONNECTION_TO_ENUM_MAP[f.effectiveType|| "unknown"]||ytjstypedef.video.youtube.api.innertube.proto.logging.client_info_enums.ClientConnectionType.CONN_UNKNOWN;a===ytjstypedef.video.youtube.api.innertube.proto.logging.client_info_enums.ClientConnectionType.CONN_CELLULAR_UNKNOWN&&f!==ytjstypedef.video.youtube.api.innertube.proto.logging.client_info_enums.ClientConnectionType.CONN_UNKNOWN&&(a=f);if(a!==ytjstypedef.video.youtube.api.innertube.proto.logging.client_info_enums.ClientConnectionType.CONN_UNKNOWN)break a;if(f!==ytjstypedef.video.youtube.api.innertube.proto.logging.client_info_enums.ClientConnectionType.CONN_UNKNOWN){a= f;break a}}a=void 0}a&&b&&(b.client.connectionType=a);if((0,module$exports$google3$video$youtube$web$core$experiments$experiments.getBooleanFlag)("web_log_effective_connection_type")){f=module$contents$google3$video$youtube$web$core$innertube$context_util_getNavigatorConnection();var g;a=(g=f)!=null&&g.effectiveType?module$contents$google3$video$youtube$web$core$innertube$context_util_EFFECTIVE_CONNECTION_TO_ENUM_MAP.hasOwnProperty(f.effectiveType)?module$contents$google3$video$youtube$web$core$innertube$context_util_EFFECTIVE_CONNECTION_TO_ENUM_MAP[f.effectiveType]: ytjstypedef.video.youtube.api.innertube.proto.logging.event_logging_payloads.network_quality_enums.EffectiveConnectionType.EFFECTIVE_CONNECTION_TYPE_UNKNOWN:void 0;(g=a)&&b&&(b.client.effectiveConnectionType=g)}}(0,module$exports$google3$video$youtube$web$core$experiments$experiments.getBooleanFlag)("start_client_gcf")&&(g=module$exports$google3$video$youtube$web$core$logging$config_group$config_handler.ConfigHandler.getInstance(),g=g.getConfigGroupData())&&(f=g,g=f.coldConfigData,a=f.coldHashData, f=f.hotHashData,b&&(b.client.configInfo=b.client.configInfo||{},g&&(b.client.configInfo.coldConfigData=g),a&&(b.client.configInfo.coldHashData=a),f&&(b.client.configInfo.hotHashData=f)));module$contents$google3$video$youtube$web$core$config$config_get("DELEGATED_SESSION_ID")&&!(0,module$exports$google3$video$youtube$web$core$experiments$experiments.getBooleanFlag)("pageid_as_header_web")&&(b.user={onBehalfOfUser:module$contents$google3$video$youtube$web$core$config$config_get("DELEGATED_SESSION_ID")}); !(0,module$exports$google3$video$youtube$web$core$experiments$experiments.getBooleanFlag)("fill_delegate_context_in_gel_killswitch")&&(g=module$contents$google3$video$youtube$web$core$config$config_get("INNERTUBE_CONTEXT_SERIALIZED_DELEGATION_CONTEXT"))&&(b.user=Object.assign({},b.user,{serializedDelegationContext:g}));d=module$contents$google3$video$youtube$web$core$config$config_get("DEVICE","");g=Object;a=g.assign;f=b.client;e={};d=(0,$jscomp.makeIterator)(Object.entries(module$contents$google3$video$youtube$web$core$uri$uri_parseQueryData(d))); for(c=d.next();!c.done;c=d.next()){c=c.value;var h=(0,$jscomp.makeIterator)(c);c=h.next().value;h=h.next().value;c==="cbrand"?e.deviceMake=h:c==="cmodel"?e.deviceModel=h:c==="cbr"?e.browserName=h:c==="cbrver"?e.browserVersion=h:c==="cos"?e.osName=h:c==="cosver"?e.osVersion=h:c==="cplatform"&&(e.platform=h)}b.client=a.call(g,f,e);return b={context:b}}; module$exports$google3$video$youtube$src$web$javascript$library$net$innertube$xhrclient.XhrClient.prototype.postWithOptions=function(a,b,c){var d=this;(0,goog.asserts.assert)(!c.onTimeout||c.timeout>0,"If onTimeout is specified, timeout must be specified and positive.");!module$contents$google3$video$youtube$web$core$config$config_get("VISITOR_DATA")&&a!==module$exports$google3$video$youtube$src$web$javascript$library$net$innertube$innertubemethod.InnerTubeMethod.VISITOR_ID&&Math.random()<.01&&module$contents$yt$errors_handleWarning(new module$exports$google3$video$youtube$web$core$logging$model$logging_error.LoggingError("Missing VISITOR_DATA when sending innertube request.", a,b,c));if(!this.isReady()){var e=new module$exports$google3$video$youtube$web$core$logging$model$logging_error.LoggingError("innertube xhrclient not ready",a,b,c);module$contents$yt$errors_handleError(e);throw e;}var f={headers:c.headers||{},method:"POST",postParams:b,postBody:c.postBody,postBodyFormat:c.postBodyFormat||module$exports$google3$video$youtube$src$web$javascript$library$net$requestoptions.PostBodyFormat.JSON,onTimeout:function(){c.onTimeout()},onFetchTimeout:c.onTimeout,onSuccess:function(q, t){if(c.onSuccess)c.onSuccess(t)},onFetchSuccess:function(q){if(c.onSuccess)c.onSuccess(q)},onError:function(q,t){if(c.onError)c.onError(t)},onFetchError:function(q){if(c.onError)c.onError(q)},timeout:c.timeout,withCredentials:!0,compress:c.compress};f.headers["Content-Type"]||(f.headers["Content-Type"]="application/json");var g="";(e=this.config_.innertubeHostOverride)&&(g=e);var h=this.config_.innertubeUseThirdPartyAuth||!1,k=module$contents$google3$video$youtube$src$web$javascript$library$net$innertube$config_getInnerTubeAuthHeaders(h, g,c);Object.assign(f.headers,k);(e=f.headers.Authorization)&&!g&&h&&(f.headers["x-origin"]=window.location.origin);var l="/youtubei/"+this.config_.innertubeApiVersion+"/"+a,m={alt:"json"},n=this.config_.innertubeOmitApiKeyWhenAuthHeaderIsPresent&&e;n=n&&e.startsWith("Bearer");n||(m.key=this.config_.innertubeApiKey);var p=module$contents$google3$video$youtube$web$core$uri$uri_updateUrlQueryData(""+g+l,m),r=function(q){q=q===void 0?!1:q;var t;if(module$exports$google3$video$youtube$web$core$network$flags.ENABLE_INNERTUBE_RETRIES&& c.retry&&g!="www.youtube-nocookie.com"&&(q||(0,module$exports$google3$video$youtube$web$core$experiments$experiments.getBooleanFlag)("skip_ls_gel_retry")||f.headers["Content-Type"]!=="application/json"||(t=module$contents$google3$video$youtube$src$web$javascript$library$net$innertube$retry_storeRequest(a,b,k,h)),t)){var u=f.onSuccess,v=f.onFetchSuccess;f.onSuccess=function(y,z){module$contents$google3$video$youtube$src$web$javascript$library$net$innertube$retry_clearStoredRequest(t);u(y,z)};b.onFetchSuccess= function(y,z){module$contents$google3$video$youtube$src$web$javascript$library$net$innertube$retry_clearStoredRequest(t);v(y,z)}}try{if(module$exports$google3$video$youtube$web$core$network$flags.LIMITED_LOGGING_CONTEXT)module$contents$google3$video$youtube$src$web$javascript$library$net$ajax_fetchWithOptions(p,f);else if(module$exports$google3$video$youtube$web$core$network$flags.ENABLE_NETWORKLESS_LOGGING&&q&&c.retry&&!c.networklessOptions.bypassNetworkless)f.method="POST",c.networklessOptions.writeThenSend? module$exports$google3$video$youtube$src$web$javascript$library$net$networkless$yt_networkless_request_controller.YtNetworklessRequestController.getInstance().writeThenSend(p,f):module$exports$google3$video$youtube$src$web$javascript$library$net$networkless$yt_networkless_request_controller.YtNetworklessRequestController.getInstance().sendAndWrite(p,f);else if(c.compress){var w=!c.networklessOptions.writeThenSend;if(f.postBody){var x=f.postBody;typeof x!=="string"&&(x=JSON.stringify(f.postBody)); module$contents$google3$video$youtube$src$web$javascript$library$net$innertube$encode_gzipThenSend(p,x,f,module$contents$google3$video$youtube$src$web$javascript$library$net$ajax_sendWithOptions,w)}else module$contents$google3$video$youtube$src$web$javascript$library$net$innertube$encode_gzipThenSend(p,JSON.stringify(f.postParams),f,module$contents$google3$video$youtube$src$web$javascript$library$net$ajax_postWithOptions,w)}else(0,module$exports$google3$video$youtube$web$core$experiments$experiments.getBooleanFlag)("web_all_payloads_via_jspb")? module$contents$google3$video$youtube$src$web$javascript$library$net$ajax_sendWithOptions(p,f):module$contents$google3$video$youtube$src$web$javascript$library$net$ajax_postWithOptions(p,f)}catch(y){if(y.name==="InvalidAccessError")module$exports$google3$video$youtube$web$core$network$flags.ENABLE_INNERTUBE_RETRIES&&t&&(module$contents$google3$video$youtube$src$web$javascript$library$net$innertube$retry_clearStoredRequest(t),t=0),module$contents$yt$errors_handleWarning(Error("An extension is blocking network request.")); else throw y;}module$exports$google3$video$youtube$web$core$network$flags.ENABLE_INNERTUBE_RETRIES&&t&&module$exports$google3$video$youtube$web$core$scheduler$scheduler.scheduler.addIdlePriorityJob(function(){module$contents$google3$video$youtube$src$web$javascript$library$net$innertube$retry_sendStoredRequests(d)},5E3)};!module$exports$google3$video$youtube$web$core$network$flags.LIMITED_LOGGING_CONTEXT&&(module$exports$google3$video$youtube$src$web$javascript$library$net$networkless$flags.DISABLE_NETWORKLESS_LOGS_STORE? 0:goog.getObjectByName("ytNetworklessLoggingInitializationOptions")?module$contents$google3$video$youtube$src$web$javascript$library$net$networkless$networkless_request_handler_networklessOptions.isNwlInitialized:module$contents$google3$video$youtube$src$web$javascript$library$net$networkless$networkless_request_handler_isNwlInitialized)?(0,module$exports$google3$video$youtube$web$core$storage$idb$index.isV1Supported)().then(function(q){r(q)}):r(!1)};yt.util={};yt.util.formattedString={};function module$contents$yt$util$formattedString_toText(a){if(a.simpleText)return a.simpleText;if(a.runs){var b=[];a=(0,$jscomp.makeIterator)(a.runs);for(var c=a.next();!c.done;c=a.next())c=c.value,c.text&&b.push(c.text);return b.join("")}return""} function module$contents$yt$util$formattedString_toDomElement(a,b){if(a.simpleText){a:{a=a.simpleText;if(b&&(b=module$contents$yt$util$formattedString_maybeConvertMultilineString(a))){b=goog.dom.createDom(goog.dom.TagName.SPAN,null,b);break a}b=document.createTextNode(a)}return b}var c=[];if(a.runs)for(var d=0;d1){for(var b=[a[0]],c=1;c
YouTube

YouTube content restrictions settings

Check if YouTube content restrictions are turned on

Restrictions on your organization network

Restrictions on YouTube content set up by an administrator on your network


check_circlex_circle
DNS restrictions are onDNS restrictions are off
Strict restricted for
Moderate restricted for

check_circlex_circle
HTTP header restrictions are onHTTP header restrictions are off
Strict restricted for
Moderate restricted for

Managed by

Organization administrator

Need help?

Reach out to your network administrator. Learn more

Restrictions on your personal account

Optional restrictions set by your own account


x_circle
Restricted Mode off

Managed by

You

Need help?

Toggle setting in your account. Learn more