forked from bigbluebutton/bigbluebutton
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- setup demo for creating adhoc conf
git-svn-id: http://bigbluebutton.googlecode.com/svn/trunk@2598 af16638f-c34d-0410-8cfa-b39d5352b314
- Loading branch information
Showing
7 changed files
with
242 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<html> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | ||
<meta name="layout" content="main" /> | ||
<title>Login</title> | ||
</head> | ||
<body> | ||
<g:if test="${flash.message}"> | ||
<div class="message">${flash.message}</div> | ||
</g:if> | ||
<form action="/bigbluebutton/api/conference.html" method="post"> | ||
<table> | ||
<tbody> | ||
<tr> | ||
<td>Conference Number:</td> | ||
<td><input type="text" name="voiceBridge" value="85115" /></td> | ||
</tr> | ||
<tr> | ||
<td /> | ||
<td><input type="submit" value="Create" /></td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</form> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<html> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | ||
<meta name="layout" content="main" /> | ||
<title>Login</title> | ||
</head> | ||
<body> | ||
<g:if test="${flash.message}"> | ||
<div class="message">${flash.message}</div> | ||
</g:if> | ||
<form action="/bigbluebutton/api/conference/session.xml" method="post"> | ||
<table> | ||
<tbody> | ||
<tr> | ||
<td>Fullname:</td> | ||
<td><input type="text" name="fullname" value="Richard" /></td> | ||
</tr> | ||
<tr> | ||
<td>Auth Token:</td> | ||
<td><input type="text" name="authToken" value="attToken" /></td> | ||
</tr> | ||
<tr> | ||
<td /> | ||
<td><input type="submit" value="Join" /></td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</form> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<html> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | ||
<meta name="layout" content="main" /> | ||
<title>Login</title> | ||
</head> | ||
<body> | ||
<g:if test="${flash.message}"> | ||
<div class="message">${flash.message}</div> | ||
</g:if> | ||
<table> | ||
<tbody> | ||
<tr> | ||
<td>Voice Bridge Number:</td> | ||
<td>${voicebridge}</td> | ||
</tr> | ||
<tr> | ||
<td>Moderator Token</td> | ||
<td>${modToken}</td> | ||
</tr> | ||
<tr> | ||
<td>Viewer Token</td> | ||
<td>${viewerToken}</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
<form action="/bigbluebutton/api/conference/session.html" method="post"> | ||
<table> | ||
<tbody> | ||
<tr> | ||
<td>Enter your name Fullname:</td> | ||
<td><input type="text" name="fullname" value="" /></td> | ||
</tr> | ||
<tr> | ||
<td>Enter Token:</td> | ||
<td><input type="text" name="authToken" value="" /></td> | ||
</tr> | ||
<tr> | ||
<td /> | ||
<td><input type="submit" value="Join" /></td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</form> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
<html> | ||
<head> | ||
<script type="text/javascript" src="/bigbluebutton/js/jquery-1.3.1.js"></script> | ||
<script type="text/javascript"> | ||
$(document).ready(function() { | ||
$.post("/bigbluebutton/api/conference.xml", { voiceBridge: "85115"}, | ||
function(data){ | ||
//alert("Data Loaded: " + data.voiceBridge + " " + data.moderatorToken + " " + data.viewerToken); | ||
|
||
$("div:first").text(data.moderatorToken); | ||
$("div:last").text(data.viewerToken); | ||
$("input:first").val(data.moderatorToken); | ||
$("input:last").val(data.viewerToken); | ||
}, "json" | ||
); | ||
}); | ||
|
||
|
||
</script> | ||
</head> | ||
<body> | ||
<form action="/bigbluebutton/api/conference/session.html" method="post"> | ||
<!-- IMPORTANT: Make this input the first one as script above relies on it's position to assign the moderatorToken value --> | ||
<input type="hidden" name="authToken" value="" /> | ||
<table> | ||
<tbody> | ||
<tr> | ||
<td>Enter your name:</td> | ||
<td><input type="text" name="fullname" value="" /></td> | ||
</tr> | ||
<tr> | ||
<td /> | ||
<td><input type="submit" value="Join as moderator" /></td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</form> | ||
<form action="/bigbluebutton/api/conference/session.html" method="post"> | ||
|
||
<table> | ||
<tbody> | ||
<tr> | ||
<td>Enter your name:</td> | ||
<td><input type="text" name="fullname" value="" /></td> | ||
</tr> | ||
<tr> | ||
<td /> | ||
<td><input type="submit" value="Join as viewer" /></td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
<!-- IMPORTANT: Make this input the last one as script above relies on it's position to assign the viewerToken value --> | ||
<input type="hidden" name="authToken" value="" /> | ||
</form> | ||
<div></div> | ||
<div></div> | ||
</body> | ||
</html> |
Large diffs are not rendered by default.
Oops, something went wrong.