-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
48 lines (47 loc) · 1.45 KB
/
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!DOCTYPE html>
<html>
<head>
<title>IMA HTML5 Simple Demo</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div id="mainContainer">
<div id="content">
<video id="contentElement">
<source src="https://storage.googleapis.com/gvabox/media/samples/stock.mp4"></source>
</video>
</div>
<div id="adContainer"></div>
</div>
<div>
You probably will need to run Chome in insecure content mode due to some tag urls has http instead of https.
open /Applications/Google\ Chrome.app --args --allow-running-insecure-content
</div>
<div id="inputs">
<table>
<tr>
<td>iu: </td>
<td>
<input type="text" id="iu" name="iu">
</td>
</tr>
<tr>
<td>hb_pb_cat_dur (comma separated): </td>
<td>
<input type="text" id="hb_pb_cat_dur" name="hb_pb_cat_dur">
</td>
</tr>
<tr>
<td>hb_cache_id</td>
<td>
<input type="text" id="hb_cache_id" name="hb_cache_id">
</td>
</tr>
</table>
</div>
<button id="initButton">Initialize</button>
<button id="playButton">Play</button>
<script type="text/javascript" src="//imasdk.googleapis.com/js/sdkloader/ima3.js"></script>
<script type="text/javascript" src="ads.js"></script>
</body>
</html>