Update bbb_api.rb

Update GreenLight for new way to launch HTML5 client
This commit is contained in:
Fred Dixon 2018-05-16 11:59:22 -04:00 committed by GitHub
parent 8179bd3d22
commit 1655014478
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -148,8 +148,7 @@ module BbbApi
# Generate the join URL. # Generate the join URL.
if use_html5 if use_html5
clientURL = bbb_endpoint.gsub('bigbluebutton/', 'html5client/join') join_url = bbb.join_meeting_url(meeting_id, full_name, password, {joinViaHtml5:true})
join_url = bbb.join_meeting_url(meeting_id, full_name, password, {clientURL: clientURL})
else else
join_url = bbb.join_meeting_url(meeting_id, full_name, password) join_url = bbb.join_meeting_url(meeting_id, full_name, password)
end end