Skip to main content

Hi,

Is there any way to add a JavaScript based embed code on a page or course? I would prefer to embed a video from our vendor this way over iframe, but don’t see a way to do it, I’m pretty sure the answer is no, but thought I’d check to see if someone had a workaround?

Thanks!
Brian

Hey Brian, 

 

We don’t offer JS injection in the platform save for the Zendesk App, and the Google Analytics App. In general JS injection represents a large security risk for the application, which has been the basis of this decision to date. 

 

A possible solution is to have an external webpage with your JS components, then this can be iframed into the LMS as an external page (assuming this webpage is configured to allow itself to be iframed)

 

Nate


Thanks, totally understand the rationale. I was trying to figure out a way to have the drop down for join buttons for iLT classroom courses to be open by default, had tried some custom css but the actual content in the drop down doesn’t exist until you click it the first time it seems, so was trying to just do a simulated click on page load so the external setup would not work in this case unfortunately. Will make the suggestion to allow an option for open/closed default on these pages on the ideas area and troll for votes. 
Thanks!


Roger. There is an idea that I think is along the same lines, quite a popular one. If you search “Provide Join Webinar Button on the Session Lists” in the ideas portal, it should come up. 

We are thinking of implementing some new design strategy for our course pages and this could fall within that effort, but a bit early to share a timeline. Rest assured we’re trying!


@natemadel  Would be so good to be able to add some simple JS into pages! To be able to create some dynamic pages with expandable/collapsible divs would be great. Another LMS I have used allowed the majority of page formatting JS but blocked quite a lot of other functions, which meant we could create some nice dynamic content. Just a thought...


Completely agree with @Richard.Harknett . Adding custom javascript has been a fairly standard offering in most platforms I have used. In my use-case, I want to add our own 3rd-party chat program -- not Zendesk -- to connect with our users. 


Reply