-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
73 lines (56 loc) · 2.54 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Hydna - Broadcast yourself</title>
<meta name="description" content="" />
<meta name="keywords" content="" />
<meta name="author" content="" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="viewport" content="initial-scale=1,user-scalable=no,maximum-scale=1,width=device-width" />
<meta http-equiv="imagetoolbar" content="false" />
<link rel="stylesheet" href="style/master.css" type="text/css" media="screen" />
<!--[if lt IE 8]>
<link rel="stylesheet" href="style/ie7.css" type="text/css" media="screen" />
<![endif]-->
<!--[if lt IE 9]>
<script src="script/libs/html5shiv.js"></script>
<![endif]-->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="script/libs/consolelog.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/hydna/1.0.0/hydna.js"></script>
<script src="script/libs/stats.min.js"></script>
<script src="script/app.js"></script>
</head>
<body>
<div id="header"><h3><a href="https://www.hydna.com/">Hydna Video Stream</a></h3><span>This application illustrates how to send a video stream over hydna</span><a class="source" href="https://github.com/hydna/hydna-video-stream">source on github</a></div>
<div id="container">
<div class="cf">
<div id="video-container">
<span class="live"></span>
<img id="playback" width="480" height="320">
<video id="live" autoplay="true" width="100%" height="100%"></video>
<div id="subtitle" class="loading"><span>Loading streams...</span></div>
</div>
<div id="chat-container">
<ul id="chat"></ul>
<form id="msg_form" class="cf">
<input type="text" id="msg" placeholder="chat message" class="field"><button class="submit regular" id="submit_btn">Send</button>
</form>
</div>
</div>
<div id="controller">
<button id="broadcast_btn" class="regular">Broadcast yourself!</button>
</div>
<div id="streams-container">
<h3>Available streams</h3>
<ul id="streams" class="cf">
</ul>
</div>
<canvas id="drawing" width="480" height="320"></canvas>
</div>
<!--<a href="#" id="thumbtoggle">Turn of emit thumb</a>-->
</body>
</html>