-
Notifications
You must be signed in to change notification settings - Fork 0
/
live.html
59 lines (50 loc) · 2.07 KB
/
live.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
58
59
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<title>Primer</title>
<script src="js/js-video.js"> </script>
<link rel="stylesheet" type="text/css" href="css/style.css" />
<link rel="stylesheet" type="text/css" href="css/ui.css" />
<link rel="stylesheet" type="text/css" href="css/env.css" />
</head>
<body onload="start();">
<div id="tit">
<h1>Live stream : From the Chambers of Code</h1>
<h3>Burt Reynolds is currently out of town</h3>
</div>
<div id="main">
<div id="display2" class="upVideoDisplay" style="float:left; margin:0;"></div>
<div id="slides1" class="upSlideDisplay" style="float:left; margin:0 40px">
<div class="loader">Slides<br /><img src="images/spin.gif" /></div>
</div>
</div>
<script>
vid1 = null;
function start() {
console.log('start');
var mainvid = getUrlVars()['vid'];
ho2 = document.getElementById('display2');
up2 = new upVideo();
console.log('ny video sat op');
up2.setup(ho2);
up2.setWidth(320);
up2.setHeight(240);
window.setTimeout(function() {
console.log('set timeout på flash');
//up2.video.setSource2('rtmp://130.225.69.110/flvplayback/foobar', true);
console.log('efter set source');
}, 2200);
}
// This function is not currently available in the UI, since the
// night mode is still lacking some elements
function toggle(el) {
var p = el.parentNode;
var state = (p.className === 'button')
p.className = state ? 'button toggle' : 'button';
document.body.className = state ? 'night' : '';
}
</script>
</body>
</html>