-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
51 lines (47 loc) · 2.41 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
<!doctype html>
<title>Synch</title>
<meta name="author" content="Long Tran">
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link rel="icon" type="image/png" href="css/favicon.gif">
<link rel="stylesheet" type="text/css" href="css/style.css">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="css/materialize.min.css">
<link rel="stylesheet" type="text/css" href="js/jquery-ui-1.11.4/jquery-ui.min.css">
<link rel="shortcut icon" type="image/x-icon" href="img/favicon.ico"/>
<body>
<div class="container">
<div id="init" class="card">
<span id="joining">
<div class="row">
<div class="col s12 m4 l4"><input id="roomID" type="text" placeholder="Enter 5-digit room ID"></div>
<div class="col s12 m4 l4"><a id="join" class="waves-effect blue darken-3 waves-light btn">Join This Room</a></div>
<div class="col s12 m4 l4"><a id="new" class="waves-effect blue darken-3 waves-light btn">New Room</a></div>
</div>
</span>
<span><a id="roomIDButton" class="waves-effect blue darken-3 waves-light btn"></a></span>
<span id="thisRoom"></span>
<span id="searchArea">
<div class="row">
<div class="col s12 m9 l9"><input id="search" type="text" placeholder="Search YouTube"></div>
<div class="col s12 m2 l2"><a id="searchYT" class="waves-effect blue darken-3 waves-light btn"><i class="material-icons">search</i></a></div>
</div>
</span>
</div>
<table id="searchResult"></table>
<div class="row" id="pproom">
<div class="col s12">
<a id="playPauseRoom" class="waves-effect blue darken-3 waves-light btn" title="Play/Pause everyone's videos">Play entire room</a>
<a id="loop" class="waves-effect blue darken-3 waves-light btn">Repeat: Off</a>
</div>
</div>
<div id="vid">
<div id="player"></div>
</div>
</div>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.11.4/jquery-ui.min.js"></script>
<script type="text/javascript" src="js/socket.io-1.3.5.js"></script>
<script type="text/javascript" src="https://www.youtube.com/iframe_api"></script>
<script type="text/javascript" src="js/synch.js"></script>
</body>
</html>