Passing variables from LMS into an embed

I'm trying to build embeds (Multimedia->Embed) that would generate user-specific content.

For this to work, I need to pass some user identifier from LMS to the embed's URL/iframe code. It could be passed as a query param, JS variable, ... anything really, I'm flexible.

Has anyone figured out a way to do something like this?

8 Replies
Jan Dusek

I want to create virtual lab inside a Rise course. Essentially an iframe that'd display a command line powered by a docker container. The container instance would be user-specific though, so I need to pass information to that iframe about the user that's currently logged in and about some of their env variables.