This has come up a few times, so I thought I’d share my lightweight wrapper to solve this.
Issue: Building small webpages, scripts, webapps to bring into a course, but because regular html pages cannot be directly uploaded you must host it somewhere else and then iframe into the course.
Workaround: Move the files into a lightweight SCORM wrapper, zip all the files into a package and load into a course as a SCORM package.
- Download and unzip the attachment (SCORM_WRAPPER_HACK.zip)
- Open the file ‘imsmanifest.xml’ and update the two title tags that currently have ‘Example SCORM Package Hack Update the Title!’ in them. These will show in a few places so use a good logical name.
- Copy your files into the base of the folder (you can bring in subfolders as long as you have referenced them correctly. The main page that will load needs to be an index.html file and should reference everything you loaded into the directory.
- Zip all contents of the folder into a single directory. Be careful not to insert an extra directory level by just zipping the top level folder, the manifest xml and the index.html should be the first level of the folder.
- I like to use the ‘Full Screen’ option across all device sizes as it lets it feel like a webapp inside the LMS.
- Similarly, I like to use auto-launch and keep these kinds of courses with just one package.
- The current wrapper does not push or pull any data (names, course, etc.), but you can if you understand how to write out SCORM scripts, I don’t have a sharable version that does this, but you can.
- This one also does not pass a completion, as it was being used for tools/calculators so I wanted them to return and have it autolaunch all the time.