Embedding Learning Dashboard into an Independent Site

141 views
Skip to first unread message

İsmail Erden

unread,
Jul 23, 2024, 7:34:07 AM7/23/24
to BigBlueButton-dev

Hello,

I want to embed the entire page structure of the learning dashboard into my own site. I intend to use the JavaScript side independently of the BigBlueButton server and utilize its templates directly on my site.

I want to have a link on my site that fetches the JSON file via an API and uses it.

Is there anyone who has worked on this before or can provide some ideas?

Thank you in advance for your help.

Illyas Chihi

unread,
Jul 23, 2024, 8:44:11 AM7/23/24
to BigBlueButton-dev
Hi Ismail,

Did you try to fetch the learning dashboard from another domain with sessionToken ?

DistanceLearning.cloud

unread,
Jul 23, 2024, 9:15:53 AM7/23/24
to BigBlueButton-dev
We have done something similar.    we push the learning json to fd5c8395ec117cc5d45ac77bbd10be09f69b39f5-1713883858432.json in a secure s3 bucket...
Then you checkout the learning dashboard player from github and modify the player to pull from this file eliminating the sessionid from the url path....

the player can also be served from s3  so no webserver is needed :)

the create call will return the unique meeting ID when you start the session  if your front end stores this in DB... No api is needed.  If the file exists in s3, render button to view the report on your app.

You handle the authentication on your end....

regards.
Stephen

Illyas Chihi

unread,
Jul 23, 2024, 9:42:09 AM7/23/24
to BigBlueButton-dev
Hi, the unique internal meetingID is provided so we can handle this part but the learning_dashboard_data.json is in a subdirectory with a name that we cannot control, do you have a solution for that ?

İsmail Erden

unread,
Jul 23, 2024, 9:55:03 AM7/23/24
to BigBlueButton-dev
Hello, I couldn't figure out where to buy the token. I can buy tokens from Bigbluebutton and put them on the link, if there is such a thing. In fact, it would be great if there was such a thing. But I didn't fully understand it. Can you help me please?

23 Temmuz 2024 Salı tarihinde saat 15:44:11 UTC+3 itibarıyla Illyas Chihi şunları yazdı:

İsmail Erden

unread,
Jul 23, 2024, 9:55:58 AM7/23/24
to BigBlueButton-dev
Actually, I want to do exactly what you described. Do you provide support on this issue?
After all, there may be a lot of servers. I need to be able to store the data and pull and show reports based on the ID.
My goal is to make video recordings in the same way.

23 Temmuz 2024 Salı tarihinde saat 16:15:53 UTC+3 itibarıyla DistanceLearning.cloud şunları yazdı:

İsmail Erden

unread,
Jul 23, 2024, 9:57:18 AM7/23/24
to BigBlueButton-dev
I think they pull it by saying "automatically open the file within the file".

DistanceLearning.cloud

unread,
Jul 23, 2024, 10:05:20 AM7/23/24
to BigBlueButton-dev

You simply execute some ruby on the post_events phase of archive that renames, and pushes the json to your location after the learning reports are generated.

The good news is the meeting Ids are unique, so a single s3 bucket can store these from a cluster of BBB servers....  you just have to install the ruby code on each bbb server to rename and push the json to s3


regards,

Stephen

.

Illyas Chihi

unread,
Jul 23, 2024, 10:06:43 AM7/23/24
to BigBlueButton-dev
I am currently lost, when i make the request https://bbb.exemple.com/learning-analytics-dashboard/845ce068162c8a817adff435873c60076d4d2d15-1721742901200/zkprdyxcctml/learning_dashboard_data.json, the subdirectory zkprdyxcctml  is not the sessionToken of the meeting but refer i think to the learningDashboardAccessToken, but where can we have this token ? I found that no request can give us this token to get it, i would setup a cron job to fetch every learningDashboard once a week to push it an s3 bucket or something similar

İsmail Erden

unread,
Jul 23, 2024, 10:50:38 AM7/23/24
to BigBlueButton-dev

Hello, thank you for your interest.

I am not sure how and which files I need to edit to display this information afterward. Is it sufficient to upload only the files from the /var/bigbluebutton/learning-dashboard path to S3? Does the JSON file there contain all the necessary data?

I can set this up, but I am unsure how to read the data from the S3 files and create the page afterward. When I try to access the page after the meeting ends, it says access is terminated.


23 Temmuz 2024 Salı tarihinde saat 17:05:20 UTC+3 itibarıyla DistanceLearning.cloud şunları yazdı:

İsmail Erden

unread,
Jul 23, 2024, 10:52:06 AM7/23/24
to BigBlueButton-dev
  Hello, yes, I haven't found the answer to this either. I am still researching. However, I recommend looking into this project: https://github.com/manishkatyan/bbb-analytics/tree/main. It seems like it has been done there.  

23 Temmuz 2024 Salı tarihinde saat 17:06:43 UTC+3 itibarıyla Illyas Chihi şunları yazdı:

DistanceLearning.cloud

unread,
Jul 23, 2024, 11:01:59 AM7/23/24
to BigBlueButton-dev
once the json is in s3,  you need to modify the player to point to your s3 file, and not look for the dashboard token path...   probably a half dozen lines of code...

then this player can be installed in s3 or on a web server.

https://github.com/bigbluebutton/bigbluebutton/tree/v2.7.x-release/bbb-learning-dashboard

Illyas Chihi

unread,
Jul 23, 2024, 11:10:38 AM7/23/24
to BigBlueButton-dev
Can we have the learningDashboardAccessToken somewhere ?

İsmail Erden

unread,
Jul 23, 2024, 11:13:22 AM7/23/24
to BigBlueButton-dev

So, can we set up this system on a server without BigBlueButton installed, just by setting this up, taking the data, and displaying it in the system? Am I understanding correctly?

If I set this up in my site's infrastructure and provide the data from S3, will I be able to access it?

Best regards,


23 Temmuz 2024 Salı tarihinde saat 18:01:59 UTC+3 itibarıyla DistanceLearning.cloud şunları yazdı:

DistanceLearning.cloud

unread,
Jul 23, 2024, 11:40:33 AM7/23/24
to BigBlueButton-dev
correct the player does not need a bbb server, and will play on any server. or from a public s3 url
Reply all
Reply to author
Forward
0 new messages