-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
45 lines (43 loc) · 2.25 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
<!DOCTYPE html>
<html>
<head>
<title>Youtube-Chat</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://fonts.googleapis.com/css?family=Merriweather+Sans" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Work+Sans:300,400,500,600,700,800" rel="stylesheet">
<link rel="shortcut icon" href="favicon.ico">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" href="css/reset.css">
<link rel="stylesheet" href="css/styles.css">
<meta name="google-signin-client_id" content="303269573869-3lqjl8rcr0lrup0va3srb7elhksr12q0.apps.googleusercontent.com">
</head>
<body>
<div id="pre-auth" class="show">
<h1>Let's join a Youtube Live Stream</h1>
<div class="g-signin2 btn" data-scope="https://www.googleapis.com/auth/youtube"
data-clientid="303269573869-3lqjl8rcr0lrup0va3srb7elhksr12q0.apps.googleusercontent.com"
data-onsuccess="onSignIn" data-onfailure="onSignInFailure">
</div>
</div>
<div id="post-auth" class="hide">
<div id=user-info></div>
<div id="button-controls">
<h1>Find your favorite live streaming videos</h1>
<input id="search-string" placeholder="find a video stream" type="text" class="form-control input" aria-describedby="inputGroup-sizing-sm"/><button id="search-button" class="btn btn-danger" disabled >Search</button>
<div>
<button id="sign-out" class = "btn btn-danger">SignOut</button>
</div>
</div>
<div id="list-videos"></div>
<div id="video-player"></div>
</div>
<script src="https://ajax.aspnetcdn.com/ajax/jQuery/jquery-3.3.1.min.js"></script>
<script src="https://apis.google.com/js/client:plusone.js" type="text/javascript"></script>
<script src="https://apis.google.com/js/platform.js" async defer></script>
<script src="https://canvasjs.com/assets/script/canvasjs.min.js" type="text/javascript"></script>
<script src="js/stats.js"></script>
<script src="js/main.js"></script>
<script src="js/auth.js"></script>
</body>
</html>