forked from shaka-project/shaka-player
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreceiver_app.html
57 lines (51 loc) · 2.2 KB
/
receiver_app.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<!DOCTYPE html>
<!--
Copyright 2016 Google Inc.
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="stylesheet" href="controls.css">
<link rel="stylesheet" href="receiver_app.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<script src="//www.gstatic.com/cast/sdk/libs/receiver/2.0.0/cast_receiver.js"></script>
<script src="load.js"></script>
<script src="controls.js"></script>
<script src="demo_utils.js"></script>
<script src="receiver_app.js"></script>
</head>
<body>
<div id="videoContainer" class="overlay-parent">
<video id="video" autoplay></video>
<div id="bufferingSpinner" class="overlay">
<svg class="spinnerSvg" viewBox="25 25 50 50">
<circle class="spinnerPath" cx="50" cy="50" r="20"
fill="none" stroke-width="2" stroke-miterlimit="10" />
</svg>
</div>
<div id="controlsContainer" class="overlay"><div id="controls">
<button id="pauseIcon" class="material-icons">pause</button>
<div id="currentTime">0:00</div>
<input id="seekBar" type="range" step="any" min="0" max="1" value="0">
</div></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>
</div>
</body>
</html>