Files
shaka-player/demo/cast_receiver/index.html
T
Joey Parrish 7e6a0f38ff fix: Correct license headers in misc. files
This corrects/normalizes license headers in misc. files, such as
config files, docs, build tools, tests, and externs.  This does not
affect the compiled output, and is only done for consistency.

Issue #2638

Change-Id: I9d8da2de55243b08d7df2b743aac73c6f15e858a
2020-06-09 16:13:56 -07:00

77 lines
2.6 KiB
HTML

<!DOCTYPE html>
<!--
Copyright 2016 Google LLC
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>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Shaka Player Cast Demo</title>
<link rel="preconnect" href="https://shaka-player-demo.appspot.com">
<link rel="preconnect" href="https://www.gstatic.com">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link rel="stylesheet" href="../../dist/controls.css">
<link rel="stylesheet" href="receiver_app.css">
<script defer src="https://www.gstatic.com/cast/sdk/libs/receiver/2.0.0/cast_receiver.js"></script>
<script>
COMPILED_JS = [
// The compiled library, with UI.
'../../dist/shaka-player.ui.js',
// The compiled receiver app.
'../../dist/receiver.compiled.js',
];
COMPILED_DEBUG_JS = [
// The compiled library, with UI, debug mode.
'../../dist/shaka-player.ui.debug.js',
// The compiled receiver app.
'../../dist/receiver.compiled.debug.js',
];
UNCOMPILED_JS = [
// Bootstrap the Shaka Player library through the Closure library.
'../../node_modules/google-closure-library/closure/goog/base.js',
'../../dist/deps.js',
// Compiled into Shaka Player, but outside of the Closure deps system.
'../../node_modules/eme-encryption-scheme-polyfill/index.js',
// This file contains goog.require calls for all exported library classes.
'../../shaka-player.uncompiled.js',
// These are the individual parts of the receiver app.
'../common/message_ids.js',
'../common/asset.js',
'../common/assets.js',
'receiver_app.js',
];
</script>
<!-- Load the compiled or uncompiled version of the code. -->
<script defer src="../load.js"></script>
</head>
<body>
<div data-shaka-player-container id="videoContainer">
<video autoplay data-shaka-player id="video"></video>
</div>
<!-- Covers everything else while idle -->
<div id="idle" class="overlay">
<h1>Ready to try Shaka's Chromecast support?</h1>
<h2>Select an asset in your browser and click "Load".
Control the video using the controls in your browser.</h2>
</div>
</body>
</html>