-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
34 lines (29 loc) · 1.23 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
<html>
<head>
<title>Jingle Interop Testing</title>
</head>
<body>
<div id="settings">
<h1>Connection Settings</h1>
<form id="loginInfo">
<label>JID: <input id="jid" type="text" name="jid" placeholder="[email protected]" /></label>
<label>Password: <input id="password" type="password" placeholder="password" /></label>
<label>Resource <em>(optional)</em>: <input id="resource" type="text" name="resource" /></label>
<label>Host <em>(optional)</em>: <input id="host" type="text" name="host" placeholder="localhost" /></label>
<input id="connect" type="submit" value="Connect" />
</form>
<h2>Start Video Session</h2>
<form id="callInfo">
<label>JID: <input id="peer" type="text" name="peer" placeholder="[email protected]/resource" /></label>
<input id="call" type="submit" value="Call" />
</form>
</div>
<p id="myJID"></p>
<h1>Local Video</h1>
<video id="localVideo"></video>
<h2>Remote Video</h2>
<video id="remoteVideo"></video>
</body>
<script type="text/javascript" src="https://xmpp-ftw.herokuapp.com/scripts/primus.js"></script>
<script type="text/javascript" src="xmpp-ftw.bundle.js"></script>
</html>