discourse/spec/fixtures/onebox/youtube-embed.response

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
47 KiB
Plaintext
Raw Normal View History

<!DOCTYPE html><html lang="en-GB" dir="ltr" data-cast-api-enabled="true"><head><meta name="viewport" content="width=device-width, initial-scale=1"><style name="www-roboto" nonce="WzCdUe7QzlbKDHiDk4xX0w">@font-face{font-family:'Roboto';font-style:normal;font-weight:400;src:url(//fonts.gstatic.com/s/roboto/v18/KFOmCnqEu92Fr1Mu4mxP.ttf)format('truetype');}</style><script name="www-roboto" nonce="WzCdUe7QzlbKDHiDk4xX0w">if (document.fonts && document.fonts.load) {document.fonts.load("400 10pt Roboto", "E"); document.fonts.load("500 10pt Roboto", "E");}</script><link rel="stylesheet" href="/s/player/1c20fac3/www-player.css" name="www-player" nonce="WzCdUe7QzlbKDHiDk4xX0w"><style nonce="WzCdUe7QzlbKDHiDk4xX0w">html {overflow: hidden;}body {font: 12px Roboto, Arial, sans-serif; background-color: #000; color: #fff; height: 100%; width: 100%; overflow: hidden; position: absolute; margin: 0; padding: 0;}#player {width: 100%; height: 100%;}h1 {text-align: center; color: #fff;}h3 {margin-top: 6px; margin-bottom: 3px;}.player-unavailable {position: absolute; top: 0; left: 0; right: 0; bottom: 0; padding: 25px; font-size: 13px; background: url(/img/meh7.png) 50% 65% no-repeat;}.player-unavailable .message {text-align: left; margin: 0 -5px 15px; padding: 0 5px 14px; border-bottom: 1px solid #888; font-size: 19px; font-weight: normal;}.player-unavailable a {color: #167ac6; text-decoration: none;}</style><script nonce="WzCdUe7QzlbKDHiDk4xX0w">var ytcsi={gt:function(n){n=(n||"")+"data_";return ytcsi[n]||(ytcsi[n]={tick:{},info:{}})},now:window.performance&&window.performance.timing&&window.performance.now&&window.performance.timing.navigationStart?function(){return window.performance.timing.navigationStart+window.performance.now()}:function(){return(new Date).getTime()},tick:function(l,t,n){var ticks=ytcsi.gt(n).tick;var v=t||ytcsi.now();if(ticks[l]){ticks["_"+l]=ticks["_"+l]||[ticks[l]];ticks["_"+l].push(v)}ticks[l]=v},info:function(k,
v,n){ytcsi.gt(n).info[k]=v},setStart:function(s,t,n){ytcsi.info("yt_sts",s,n);ytcsi.tick("_start",t,n)}};
(function(w,d){ytcsi.setStart("dhs",w.performance?w.performance.timing.responseStart:null);var isPrerender=(d.visibilityState||d.webkitVisibilityState)=="prerender";var vName=!d.visibilityState&&d.webkitVisibilityState?"webkitvisibilitychange":"visibilitychange";if(isPrerender){ytcsi.info("prerender",1);var startTick=function(){ytcsi.setStart("dhs");d.removeEventListener(vName,startTick)};d.addEventListener(vName,startTick,false)}if(d.addEventListener)d.addEventListener(vName,function(){ytcsi.tick("vc")},
false);function isGecko(){if(!w.navigator)return false;try{if(w.navigator.userAgentData&&w.navigator.userAgentData.brands&&w.navigator.userAgentData.brands.length){var brands=w.navigator.userAgentData.brands;for(var i=0;i<brands.length;i++)if(brands[i]&&brands[i].brand==="Firefox")return true;return false}}catch(e){setTimeout(function(){throw e;})}if(!w.navigator.userAgent)return false;var ua=w.navigator.userAgent;return ua.indexOf("Gecko")>0&&ua.toLowerCase().indexOf("webkit")<0&&ua.indexOf("Edge")<
0&&ua.indexOf("Trident")<0&&ua.indexOf("MSIE")<0}if(isGecko()){var isHidden=(d.visibilityState||d.webkitVisibilityState)=="hidden";if(isHidden)ytcsi.tick("vc")}var slt=function(el,t){setTimeout(function(){var n=ytcsi.now();el.loadTime=n;if(el.slt)el.slt()},t)};w.__ytRIL=function(el){if(!el.getAttribute("data-thumb"))if(w.requestAnimationFrame)w.requestAnimationFrame(function(){slt(el,0)});else slt(el,16)}})(window,document);
</script><script nonce="WzCdUe7QzlbKDHiDk4xX0w">var ytcfg={d:function(){return window.yt&&yt.config_||ytcfg.data_||(ytcfg.data_={})},get:function(k,o){return k in ytcfg.d()?ytcfg.d()[k]:o},set:function(){var a=arguments;if(a.length>1)ytcfg.d()[a[0]]=a[1];else for(var k in a[0])ytcfg.d()[k]=a[0][k]}};
ytcfg.set({"EVENT_ID":"8OBsYInqBYfWigTr_Y_wCA","EXPERIMENT_FLAGS":{"log_vis_on_tab_change":true,"desktop_client_release":true,"web_log_connection_in_gel":true,"polymer_bad_build_labels":true,"enable_docked_chat_messages":true,"web_client_counter_random_seed":true,"botguard_periodic_refresh":true,"networkless_logging":true,"disable_thumbnail_preloading":true,"kevlar_gel_error_routing":true,"web_lifecycles":true,"disable_simple_mixed_direction_formatted_strings":true,"retry_web_logging_batches":true,"suppress_gen_204":true,"html5_enable_logging_of_bulleit_above_feed_slot_commands":true,"desktop_action_companion_wta_support":true,"web_api_url":true,"is_mweb_wexit_main_launch":true,"custom_csi_timeline_use_gel":true,"use_watch_fragments2":true,"desktop_notification_set_title_bar":true,"desktop_pyv_on_watch_missing_params":true,"mdx_enable_privacy_disclosure_ui":true,"enable_auto_play_param_fix_for_masthead_ad":true,"cancel_pending_navs":true,"enable_mixed_direction_formatted_strings":true,"autoescape_tempdata_url":true,"live_chat_increased_min_height":true,"service_worker_push_watch_page_prompt":true,"no_sub_count_on_sub_button":true,"web_gel_timeout_cap":true,"warm_load_nav_start_web":true,"polymer_verifiy_app_state":true,"web_screen_associated_all_layers":true,"service_worker_enabled":true,"suppress_error_204_logging":true,"flush_gel":true,"gfeedback_for_signed_out_users_enabled":true,"html5_pacf_enable_dai":true,"live_chat_unicode_emoji_skintone_update":true,"pageid_as_header_web":true,"desktop_sparkles_light_cta_button":true,"live_chat_use_punctual":true,"web_always_load_chat_support":true,"is_kevlar_wexit_main_launch":true,"mweb_csi_watch_fix":true,"kevlar_dropdown_fix":true,"service_worker_push_home_page_prompt":true,"web_log_app_install_experiments":true,"service_worker_push_enabled":true,"disable_child_node_auto_formatted_strings":true,"web_enable_ad_signals_in_it_context":true,"live_chat_use_fetch_command":true,"enable_ve_tracker_key":true,"enable_ypc_spinners":true,"mdx_load_cast_api_bootstrap_script":true,"enable_watch_next_pause_autoplay_lact":true,"desktop_notification_high_priority_ignore_push":true,"deprecate_pair_servlet_enabled":true,"web_log_connection":true,"kevlar_guide_refresh":true,"web_yt_config_context":true,"enable_nwl_cleaning_logic":true,"web_system_health_fraction":0.01,"log_window_onerror_fraction":0.1,"log_js_exceptions_fraction":1.0,"nwl_cleaning_rate":0.1,"ytidb_transaction_ended_event_rate_limit":0.02,"autoplay_pause_by_lact_sampling_fraction":0.0,"nwl_latency_sampling_rate":0.01,"addto_ajax_log_warning_fraction":0.1,"ytidb_transaction_try_count":1,"html5_experiment_id_label":0,"leader_election_check_interval":9000,"prefetch_comments_ms_after_video":0,"check_navigator_accuracy_timeout_ms":0,"botguard_async_snapshot_timeout_ms":3000,"desktop_polymer_video_masthead_session_tempdata_ttl":30,"leader_election_lease_ttl":10000,"watch_next_pause_autoplay_lact_sec":4500,"network_polling_interval":30000,"log_web_meta_interval_ms":0,"autoplay_pause_by_lact_sec":0,"leader_election_renewal_interval":6000,"service_worker_push_prompt_delay_microseconds":3888000000000,"service_worker_push_prompt_cap":-1,"web_gel_debounce_ms":10000,"web_foreground_heartbeat_interval_ms":28000,"service_worker_push_logged_out_prompt_watches":-1,"web_logging_max_batch":100,"consent_url_override":"","service_worker_push_force_notification_prompt_tag":"1","cb_v2_uxe":"","service_worker_scope":"/","live_chat_unicode_emoji_json_url":"https://www.gstatic.com/youtube/img/emojis/emojis-svg-5.json","web_client_version_override":"","web_op_endpoint_banlist":[],"kevlar_command_handler_command_banlist":[],"web_op_continuation_type_banlist":[],"web_op_signal_type_banlist":[]},"GAPI_HINT_PARAMS":"m;/_/scs/abc-static/_/js/k\u003dgapi.gapi.en.RrjSsKk8Szw.O/d\u003d1/ct\u003dzgms/rs\u003dAHpOoo8bhQb3qTfNhmC8kzOOB-dQGGlNzA/m\u003d__features__","GAPI_HOST":"https://apis.google.com","GAPI_LOCALE":"en_GB","GL":"CA","HL":"en-GB","HTML_LANG":"en-GB","INNERTUBE_API_KEY":"AIzaSyAO_FJ2SlqU8Q4STEHLGCilw_Y9_11qcW8","INNERTUBE_API_VERSION":"v1","INNERTUBE