2013-12-16 11:22:23 +00:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>WebRTC, meet the Jitsi Videobridge</title>
|
|
|
|
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
|
2013-12-20 18:15:52 +00:00
|
|
|
<script src="libs/strophejingle.bundle.js?v=1"></script><!-- strophe.jingle bundle -->
|
|
|
|
<script src="libs/colibri.js?v=1"></script><!-- colibri focus implementation -->
|
2013-12-23 17:41:42 +00:00
|
|
|
<script src="muc.js?v=2"></script><!-- simple MUC library -->
|
2013-12-20 18:15:52 +00:00
|
|
|
<script src="estos_log.js?v=1"></script><!-- simple stanza logger -->
|
2013-12-23 17:41:42 +00:00
|
|
|
<script src="app.js?v=2"></script><!-- application logic -->
|
2013-12-16 11:22:23 +00:00
|
|
|
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
|
2013-12-20 12:04:37 +00:00
|
|
|
<link rel="stylesheet" type="text/css" media="screen" href="css/main.css?v=1"/>
|
|
|
|
<link rel="stylesheet" href="css/jquery-impromptu.css?v=1">
|
|
|
|
<link rel="stylesheet" href="css/modaldialog.css?v=1">
|
2013-12-16 11:22:23 +00:00
|
|
|
<script src="libs/jquery-impromptu.js"></script>
|
|
|
|
<script src="libs/jquery.autosize.js"></script>
|
|
|
|
<script src="config.js"></script><!-- adapt to your needs, i.e. set hosts and bosh path -->
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="header">
|
|
|
|
<a href="http://jitsi.org" target="_blank"><div id="leftlogo"></div></a>
|
|
|
|
<a href="http://www.estos.com/" target="_blank"><div id="rightlogo"></div></a>
|
2013-12-18 14:33:51 +00:00
|
|
|
<div id="toolbar">
|
2013-12-16 11:22:23 +00:00
|
|
|
<a class="button" onclick='buttonClick("#mute", "fa fa-microphone fa-lg fa fa-microphone-slash fa-lg");toggleAudio();'><i id="mute" title="Mute / unmute" class="fa fa-microphone fa-lg"></i></a>
|
|
|
|
<div class="header_button_separator"></div>
|
|
|
|
<a class="button" onclick='buttonClick("#video", "fa fa-video-camera fa-lg fa fa-video-camera no-fa-video-camera fa-lg");toggleVideo();'><i id="video" title="Start / stop camera" class="fa fa-video-camera fa-lg"></i></a>
|
|
|
|
<div class="header_button_separator"></div>
|
|
|
|
<a class="button" onclick="openLockDialog();"><i id="lockIcon" title="Lock/unlock room" class="fa fa-unlock fa-lg"></i></a>
|
|
|
|
<div class="header_button_separator"></div>
|
|
|
|
<a class="button" onclick="openLinkDialog();"><i title="Invite others" class="fa fa-link fa-lg"></i></a>
|
|
|
|
<div class="header_button_separator"></div>
|
|
|
|
<a class="button" onclick='openChat();'><i id="chat" title="Open chat" class="fa fa-comments fa-lg"></i></a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="settings">
|
|
|
|
<h1>Connection Settings</h1>
|
|
|
|
<form id="loginInfo">
|
|
|
|
<label>JID: <input id="jid" type="text" name="jid" placeholder="me@example.com"/></label>
|
|
|
|
<label>Password: <input id="password" type="password" name="password" placeholder="secret"/></label>
|
|
|
|
<label>BOSH URL: <input id="boshURL" type="text" name="boshURL" placeholder="/http-bind"/></label>
|
|
|
|
<input id="connect" type="submit" value="Connect" />
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="videospace">
|
|
|
|
<div class="fade_line"></div>
|
|
|
|
<video id="largeVideo" autoplay oncontextmenu="return false;"></video>
|
|
|
|
<div class="fade_line"></div>
|
|
|
|
<div id="remoteVideos">
|
|
|
|
<video id="localVideo" autoplay oncontextmenu="return false;" muted/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="chatspace">
|
|
|
|
<div id="nickname">
|
|
|
|
Enter a nickname in the box below
|
|
|
|
<form>
|
|
|
|
<input type='text' id="nickinput" placeholder='Choose a nickname' autofocus>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!--div><i class="fa fa-comments"> </i><span class='nick'></span>: <span class='chattext'></span></div-->
|
|
|
|
<div id="chatconversation"></div>
|
|
|
|
<textarea id="usermsg" class= "animated" placeholder='Enter text...' autofocus></textarea>
|
|
|
|
</div>
|
2013-12-20 10:28:42 +00:00
|
|
|
<a id="downloadlog" class="fa fa-cloud-download" title="Download logfile for support" onclick="connection.logger.dump(event.target);" style="position: absolute; bottom: 5; left: 5; overflow: visible; z-index: 100;"></a>
|
2013-12-16 11:22:23 +00:00
|
|
|
<script>
|
2013-12-20 18:15:52 +00:00
|
|
|
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
|
|
|
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
|
|
|
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
|
|
|
ga('create', 'UA-319188-14', 'jit.si');
|
|
|
|
ga('send', 'pageview');
|
|
|
|
</script>
|
2013-12-16 11:22:23 +00:00
|
|
|
</body>
|
|
|
|
</html>
|