-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
28 lines (26 loc) · 799 Bytes
/
index.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
<!DOCTYPE html>
<html>
<head>
<title>Shaka player built-in UI example</title>
<meta charset="UTF-8" />
<!-- for the sake of this article we use a sandbox path to shaka styles -->
<link
rel="stylesheet"
type="text/css"
href="node_modules/shaka-player/dist/controls.css"
/>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<!-- We need a container to build the UI on top of it -->
<div id="container" style="width: 100%; height: 100%">
<video autoplay id="video"></video>
</div>
<!-- add client-side IMA SDK -->
<script
type="text/javascript"
src="https://imasdk.googleapis.com/js/sdkloader/ima3.js"
></script>
<script type="module" src="src/index.js"></script>
</body>
</html>