Forum Discussion
Embed in iFrame and hide Cover Page
Hi there,
I need to embed a Rise course in an iframe. I can do this if I publish my course to web. If I then embed (via iFrame) the index-file from my web-export, everything works fine.
BUT, I really need to hide the Cover Page too. So instead of exporting to web I have to export to LMS. Here I select "Hide Cover Page" and extract the files from the scormcontent-folder.
Now if I try to embed the index-file from the LMS-export, the loading animation will keep running without ever showing my content. Can anyone tell me why this is? Perhaps tell me which lines of code are problematic, so I can remove them?
- SuneBjerreCommunity Member
That depends on how you use it. As it is now, you can't hide the cover page, when exporting to web. But there is a work-around:
- Export to LMS
- Open the zip-file and extract the folder "scormcontent"
- Execute the index-file in that folder.
This way you can run the course in a browser without showing the cover page.
I'm aware that the js-files (and even the index-file) contains loads of code and functions, that comes from the LMS part of the export. But it works....well except when embedding it in an iframe. And this is what I'm asking: If anyone knows why it works directly in a browser, but not when in an iframe?
Ofcourse the best solution would be to allow hiding the cover page in a web-export. This is a feature I can see other people has asked for, but sadly hasnt been introduced yet. - PhilMayorSuper Hero
It wouldn't be possible to use the LMS version outside an LMS