-
Notifications
You must be signed in to change notification settings - Fork 100
/
index.html
executable file
·92 lines (77 loc) · 3.65 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="Video chat using socket.io" content="">
<meta name="author" content="Hiren Kavad">
<title>Video Chat By Hiren Kavad</title>
<!-- Bootstrap core CSS -->
<link href="http://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.1.1/css/bootstrap.css" rel="stylesheet">
<link href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
<link href="css/custom.css" rel="stylesheet">
<!-- Just for debugging purposes. Don't actually copy this line! -->
<!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">Video Chat</a>
</div>
<div class="navbar-collapse collapse">
<form class="navbar-form navbar-right" >
<div class="form-group">
<input type="text" name="userId" id="userId" placeholder="User" class="form-control">
</div>
<div class="form-group">
<input type="text" name="roomId" id="roomId" placeholder="Room" class="form-control">
</div>
<input tupe="button" id="startButton" class="btn btn-success" value="Join"/>
</form>
</div>
</div>
</div>
<div class="jumbotron">
<div class="row ">
<div class="col-md-8" >
<div class="row">
<img src="images/remote.png" id="remoteimg" class="img-responsive"/>
<video id='remoteVideo' autoplay width="100%" class="remote"></video>
</div>
</div>
<div class="col-md-4 local" >
<div class="row">
<img src="images/local.png" id="localimg" class="img-responsive"/>
<video id='localVideo' autoplay muted width="100%" ></video>
</div>
<div class="row">
<div id="chat" class="txtarea fullsz"></div>
<input type="text" id="msg" placeholder="Press enter to send message" class="fullsz form-control"/>
</div>
</div>
</div>
<footer class="footer">
<i class="fa fa-github"></i><a href="https://github.com/Hironate/PeerChat" target="_blank"> Fork Me on Github</a>
</footer>
</div>
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script src="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
<!-- Application Specific Javascripts -->
<script src='/socket.io/socket.io.js'></script>
<script src='js/main.js'></script>
</body>
</html>