Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
fairblue
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hosting
chat
fairblue
Commits
1911c4a6
Commit
1911c4a6
authored
8 years ago
by
Anton Georgiev
Browse files
Options
Downloads
Patches
Plain Diff
add a pre-filled meetingname field in html5 demo page
parent
0614031b
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bbb-api-demo/src/main/webapp/bbb_api.jsp
+5
-6
5 additions, 6 deletions
bbb-api-demo/src/main/webapp/bbb_api.jsp
bbb-api-demo/src/main/webapp/demoHTML5.jsp
+21
-21
21 additions, 21 deletions
bbb-api-demo/src/main/webapp/demoHTML5.jsp
with
26 additions
and
27 deletions
bbb-api-demo/src/main/webapp/bbb_api.jsp
+
5
−
6
View file @
1911c4a6
...
...
@@ -234,10 +234,8 @@ public String getJoinURL(String username, String meetingID, String record, Strin
}
//
// Create a meeting and return a URL to join it as
moderator
. This is used for the API demos.
// Create a meeting and return a URL to join it as
attendee
. This is used for the API demos.
//
// Passed
// - username
...
...
@@ -250,8 +248,6 @@ public String getJoinURL(String username, String meetingID, String record, Strin
// Returned
// - valid join URL using the username
//
// Note this meeting will use username for meetingID
//
// VERSION ADJUSTED TO THE NEEDS OF THE HTML5 CLIENT
// -redirect=false //so that we get xml returned instead of being redirected to the meeting
...
...
@@ -314,8 +310,11 @@ public String getJoinURLHTML5(String username, String meetingID, String record,
// Looks good, now return a URL to join that meeting
//
// Note that REDIRECT=FALSE -- we will use the url to extract meetingID, userID, authToken
// and will pass them to the joining url for the html5 client (different format)
// Also we set PASSWORD=AP FOR ATTENDEE
String
join_parameters
=
"meetingID="
+
urlEncode
(
meetingID
)
+
"&fullName="
+
urlEncode
(
username
)
+
"&redirect=false&password=ap"
;
//REDIRECT=FALSE (HTML5 CLIENT) PASSWORD=AP FOR ATTENDEE
+
"&fullName="
+
urlEncode
(
username
)
+
"&redirect=false&password=ap"
;
return
base_url_join
+
join_parameters
+
"&checksum="
+
checksum
(
"join"
+
join_parameters
+
salt
);
...
...
This diff is collapsed.
Click to expand it.
bbb-api-demo/src/main/webapp/demoHTML5.jsp
+
21
−
21
View file @
1911c4a6
...
...
@@ -35,11 +35,11 @@ Author: Fred Dixon <ffdixon@bigbluebutton.org>
<body>
<
%@ include
file=
"bbb_api.jsp"
%
>
<
p>
You must have the BigBlueButton HTML5 client installed to use this API demo.
</p
>
You must have the BigBlueButton HTML5 client installed to use this API demo.
<%@ include
file=
"bbb_api.jsp"
%>
<%
<%
if
(
request
.
getParameterMap
().
isEmpty
())
{
//
// Assume we want to create a meeting
...
...
@@ -49,29 +49,29 @@ if (request.getParameterMap().isEmpty()) {
<h2>
Join Meeting via HTML5 Client
</h2>
<FORM
NAME=
"form1"
METHOD=
"GET"
>
<FORM
NAME=
"form1"
METHOD=
"GET"
>
<table
cellpadding=
"5"
cellspacing=
"5"
style=
"width: 400px; "
>
<tbody>
<tr>
<td>
</td>
<td
style=
"text-align: right; "
>
Full Name:
</td>
<td
style=
"width: 5px; "
>
</td>
<td
style=
"text-align: left "
>
<input
type=
"text"
autofocus
required
name=
"username"
/></td>
<td>
</td>
<td
style=
"text-align: right; "
>
Full Name:
</td>
<td
style=
"width: 5px; "
>
</td>
<td
style=
"text-align: left "
><input
type=
"text"
autofocus
required
name=
"username"
/></td>
</tr>
<tr>
<td>
</td>
<td
style=
"text-align: right; "
>
Meeting Name:
</td>
<td
style=
"width: 5px; "
>
</td>
<td
style=
"text-align: left "
><input
type=
"text"
name=
"meetingname"
value=
"Demo Meeting"
/></td>
<tr>
<tr>
<td>
</td>
<td>
</td>
<td>
</td>
<td><input
type=
"submit"
value=
"Join"
/></td>
<tr>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
<input
type=
"submit"
value=
"Join"
/></td>
</tr>
</tbody>
</table>
<INPUT
TYPE=
hidden
NAME=
action
VALUE=
"create"
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment