52 lines
2.8 KiB
HTML
52 lines
2.8 KiB
HTML
|
|
<!DOCTYPE html>
|
||
|
|
<html>
|
||
|
|
<head>
|
||
|
|
<title>Magnoliyan Video Chat</title>
|
||
|
|
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.2/css/bootstrap.min.css">
|
||
|
|
</head>
|
||
|
|
<body>
|
||
|
|
<div class="container">
|
||
|
|
<div class="page-header">
|
||
|
|
<h1>Magnoliyan Video Chat <small>Investigator</small></h1>
|
||
|
|
<p>This is simple tool used to investigate if you will be able to deploy full featured <a href="http://www.magnoliyan.com/rtc-video/" target="_blank">Video Chat server</a> on a hosting platform.</p>
|
||
|
|
<p>Make sure to update <code>source/server/bin/config.php</code> if you want to change server port.</p>
|
||
|
|
<p>Then, run your server from <a href="http://www.magnoliyan.com/rtc-video/#Server-Management" target="_blank">command line</a> or try <a href="source/server/web-commander/index.php" target="_blank">web commander</a></p>
|
||
|
|
<p>Then update websocket domain and port on this page and click <strong>Test Connection</strong></p>
|
||
|
|
</div>
|
||
|
|
<div id="mgVideoChat"></div>
|
||
|
|
<div class="panel panel-default">
|
||
|
|
<div class="panel-heading">Websocket parameters</div>
|
||
|
|
<div class="panel-body">
|
||
|
|
<form class="form" role="form">
|
||
|
|
<div class="form-group">
|
||
|
|
<label for="ws_domain" class="control-label">Domain</label>
|
||
|
|
<input type="text" id="ws_domain" class="form-control" placeholder="domain" value="localhost">
|
||
|
|
</div>
|
||
|
|
<div class="form-group" class="control-label">
|
||
|
|
<label for="ws_port">Port</label>
|
||
|
|
<input type="number" id="ws_port" class="form-control" placeholder="port" value="8080">
|
||
|
|
</div>
|
||
|
|
<div class="form-group">
|
||
|
|
<button id="ws_test" type="submit" class="btn btn-primary">Test Connection</button>
|
||
|
|
</div>
|
||
|
|
</form>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
|
||
|
|
<script type="text/javascript" src="http://netdna.bootstrapcdn.com/bootstrap/3.0.2/js/bootstrap.min.js"></script>
|
||
|
|
<!-- Video Chat -->
|
||
|
|
<script src="source/client/mgVideoChat/mgVideoChat-1.1.0-min.js"></script>
|
||
|
|
<script>
|
||
|
|
$(document).ready(function(){
|
||
|
|
$('#ws_test').click(function(){
|
||
|
|
$('#mgVideoChat').mgVideoChat({
|
||
|
|
wsURL: 'ws://' + $('#ws_domain').val() + ':' + $('#ws_port').val()
|
||
|
|
});
|
||
|
|
return false;
|
||
|
|
});
|
||
|
|
});
|
||
|
|
</script>
|
||
|
|
</body>
|
||
|
|
</html>
|