2020/main.html (138 lines of code) (raw):
<!DOCTYPE html>
<!--
Copyright 2018 Google Inc. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<html>
<head>
<title>Living Room Certification Tests</title>
<link rel="stylesheet" href="style.css" type="text/css">
<!-- Begin non GitHub files -->
<link rel="stylesheet" href="lib/functional/test.css" type="text/css">
<link rel="stylesheet" href="lib/functional/font.css" type="text/css">
<link rel="splashscreen" href="splash_screen.html">
<!-- End non GitHub files -->
</head>
<body>
<div id="testArea" style="display: none"></div>
<script type="text/javascript" async defer>
// Set global variable before loading closure scripts.
var goog = goog || {};
goog.global = this || self;
goog.global.CLOSURE_NO_DEPS = true;
// Do NOT Change order of script sources!
var scriptSources = [
<!-- Begin non GitHub files -->
"third_party/Modernizr/modernizr-custom.js",
<!-- End non GitHub files -->
"third_party/closure-library/closure-library/closure/goog/base.js",
"third_party/closure-library/closure-library/closure/goog/debug/error.js",
"third_party/closure-library/closure-library/closure/goog/dom/nodetype.js",
"third_party/closure-library/closure-library/closure/goog/asserts/asserts.js",
"third_party/closure-library/closure-library/closure/goog/array/array.js",
"third_party/closure-library/closure-library/closure/goog/crypt/crypt.js",
"third_party/closure-library/closure-library/closure/goog/string/typedstring.js",
"third_party/closure-library/closure-library/closure/goog/string/const.js",
"third_party/closure-library/closure-library/closure/goog/fs/url.js",
"third_party/closure-library/closure-library/closure/goog/html/trustedtypes.js",
"third_party/closure-library/closure-library/closure/goog/i18n/bidi.js",
"third_party/closure-library/closure-library/closure/goog/html/trustedresourceurl.js",
"third_party/closure-library/closure-library/closure/goog/string/internal.js",
"third_party/closure-library/closure-library/closure/goog/html/safeurl.js",
"third_party/closure-library/closure-library/closure/goog/html/safestyle.js",
"third_party/closure-library/closure-library/closure/goog/dom/asserts.js",
"third_party/closure-library/closure-library/closure/goog/functions/functions.js",
"third_party/closure-library/closure-library/closure/goog/dom/htmlelement.js",
"third_party/closure-library/closure-library/closure/goog/dom/tagname.js",
"third_party/closure-library/closure-library/closure/goog/object/object.js",
"third_party/closure-library/closure-library/closure/goog/dom/tags.js",
"third_party/closure-library/closure-library/closure/goog/html/safescript.js",
"third_party/closure-library/closure-library/closure/goog/html/safestylesheet.js",
"third_party/closure-library/closure-library/closure/goog/labs/useragent/util.js",
"third_party/closure-library/closure-library/closure/goog/labs/useragent/browser.js",
"third_party/closure-library/closure-library/closure/goog/html/safehtml.js",
"third_party/closure-library/closure-library/closure/goog/html/uncheckedconversions.js",
"third_party/closure-library/closure-library/closure/goog/dom/safe.js",
"third_party/closure-library/closure-library/closure/goog/string/string.js",
"third_party/closure-library/closure-library/closure/goog/labs/useragent/engine.js",
"third_party/closure-library/closure-library/closure/goog/labs/useragent/platform.js",
"third_party/closure-library/closure-library/closure/goog/reflect/reflect.js",
"third_party/closure-library/closure-library/closure/goog/useragent/useragent.js",
"third_party/closure-library/closure-library/closure/goog/useragent/product.js",
"third_party/closure-library/closure-library/closure/goog/crypt/base64.js",
"third_party/protocolbuffers/protobuf/js/binary/constants.js",
"third_party/protocolbuffers/protobuf/js/binary/utils.js",
"third_party/protocolbuffers/protobuf/js/binary/arith.js",
"third_party/protocolbuffers/protobuf/js/binary/decoder.js",
"third_party/protocolbuffers/protobuf/js/binary/encoder.js",
"third_party/protocolbuffers/protobuf/js/binary/reader.js",
"third_party/protocolbuffers/protobuf/js/binary/writer.js",
"third_party/protocolbuffers/protobuf/js/map.js",
"third_party/protocolbuffers/protobuf/js/message.js",
"third_party/Shaka/shaka-player.compiled.js",
"third_party/beatgammit/base64.min.js",
"harness/util.js",
"harness/constants.js",
"harness/key.js",
"harness/keyEvent.js",
"harness/focusManager.js",
"harness/logger.js",
"harness/xhr.js",
"harness/timeout.js",
"harness/testView.js",
"harness/compactTestList.js",
"harness/compactTestView.js",
"harness/test.js",
"harness/testTypes.js",
"lib/streams/mediaStreams.js",
"lib/mse/msutil.js",
"lib/mse/mediaSourcePortability.js",
"lib/mse/videoPerformance.js",
"lib/eme/licenseRequestReader.js",
"lib/eme/encryptedMediaPortability.js",
"lib/eme/licenseManager.js",
"lib/eme/emeManager.js",
"lib/eme/emutil.js",
"lib/parsers/mp4.js",
"lib/parsers/webm.js",
<!-- Begin non GitHub files -->
"lib/functional/mediaSourcePortability.js",
"lib/functional/mediaSourceSetup.js",
<!-- End non GitHub files -->
"media/conformanceTest.js",
"media/mseCodecTest.js",
"media/emeTest.js",
"media/progressiveTest.js",
"media/playbackperfTest.js",
"media/sphericalOnCobaltTest.js",
<!-- Begin non GitHub files -->
"functional/functionalTest.js",
"functional/cssTest.js",
"functional/domelementTest.js",
"functional/domCssTest.js",
"functional/domDocumentEventTest.js",
"functional/domMiscTest.js",
"functional/formatSupportTest.js",
"manual/manualTest.js",
<!-- End non GitHub files -->
"harness/main.js"
];
/*
* Load each script sequentially but marked as async so cobalt is able to pause/suspend
* the loading of YTS scripts and return later to finish executing
*/
(function loadNextScript() {
if (scriptSources.length) {
var script = document.createElement('script');
script.src = scriptSources[0];
script.async = true;
script.defer = true;
script.onload = function() {
scriptSources.shift();
loadNextScript();
}
document.head.appendChild(script);
} else {
startMseTest(testVersion);
}
})();
</script>
<div id="login-pop-up" style="display: none">
<div id="client-id-div">
<p class="step">1) On your phone or computer, go to youtube.com/activate</p>
<br>
<p class="step" id="client-id">2) Enter this code</p>
<br>
<p class="step">3) Sign in with your Google account</p>
</div>
</div>
</body>
</html>