Forum Discussion
Embed in iFrame and hide Cover Page
- 22 days ago
Seems like I found a solution.
If I publish to LMS and choose "xAPI" I can run the index-file in an iframe without any cross-domain errors.
This means I can host the Rise-files on my server and then embed them in another website WITHOUT showing the cover page.
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.