General developer forum

Displaying SCORM in a Modal

Picture of Silvia Pinheiro
Re: Displaying SCORM in a Modal


You can use html5lightbox and wrap the scorm link around a DIV. 

That was the solution my work colleague came up with. Then, he changed the style as well according to the design required, so we had to spend some time with it and ensure it was responsible and device compatible.

The script was included on the theme header used on the current course. The scorm activity was set up to open on another window, so we could use the link. We can record the scorm attempts without issues.

You can see attached how it looks like, after clicking the link, the background is black and the close button comes as default from the lightbox script.

Hope that helps,


Average of ratings: -