-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
40 lines (33 loc) · 1.66 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
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title></title>
</head>
<body>
<div id="vid-box"><!-- Stream goes here --></div>
<form name="streamForm" id="stream" action="#" onsubmit="return stream(this);">
<input type="text" name="streamname" id="streamname" placeholder="Pick a stream name!" />
<input type="submit" name="stream_submit" value="Stream">
<div id="stream-info">Watching: <span id="here-now">0</span></div>
</form>
<form name="watchForm" id="watch" action="#" onsubmit="return watch(this);">
<input type="text" name="number" placeholder="Enter stream to join!" />
<input type="submit" value="Watch" />
</form>
<div id="inStream">
<button id="end" onclick="end()">Done</button> <br>
Generate Embed: <button onclick="genEmbed(400,600)">Tall</button><button onclick="genEmbed(600,400)">Wide</button><button onclick="genEmbed(500,500)">Square</button><br>
<div id="embed-code"></div>
</div>
<script src="http://hexagod.net/live/arsrc/jquery.min.js"></script>
<script src="http://hexagod.net/live/arsrc/pubnub-3.7.14.min.js"></script>
<script src="http://hexagod.net/live/arsrc/webrtc.js"></script>
<script src="http://hexagod.net/live/arsrc/rtc-controller.js"></script>
<script src="http://hexagod.net/live/genEmbed.js"></script>
<script src="http://hexagod.net/live/phone.js"></script>
<script src="http://hexagod.net/live/stream.js"></script>
<script src="http://hexagod.net/live/urlargs.js"></script>
<script src="http://hexagod.net/live/var1.js"></script>
</body>
</html>