-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsf-video-test.html
56 lines (42 loc) · 1.12 KB
/
sf-video-test.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
<!DOCTYPE html>
<html>
<head>
<title>SafeFrame w VPAID test</title>
<style type="text/css">
.relative{
position: relative;
}
</style>
</head>
<body>
<h1>SafeFrame Video Test</h1>
<hr>
<div id="contentVideo"></div>
<script type='text/x-safeframe' class='sf_data' id="sf_tag_1" >
{
"id" : "adVideo",
"src" : "http://localhost:82/video-bootstrap.js",
"conf" :
{
"size" : "1000x500",
"dest": "contentVideo"
}
}
</script>
<script type="text/javascript" src="http://localcdn/SafeFrame/safeframes-code/src/js/lib/base.js"></script>
<script type="text/javascript" src="http://localcdn/SafeFrame/safeframes-code/src/js/host/host.js"></script>
<script type="text/javascript" src="http://localcdn/SafeFrame/safeframes-code/src/js/lib/boot.js"></script>
<script type="text/javascript">
/**
* Initialize a new SafeFrames publisher configuration
*/
(function() {
var conf = new $sf.host.Config({
// Should be absolute path to render file hosted on CDN
renderFile: "http://localcdn/SafeFrame/safeframes-code/src/html/r.html",
positions: {}
});
})();
</script>
</body>
</html>