Forum Discussion
GerryThibodeau
8 years agoCommunity Member
Embedding Local Content on a Intranet site?
Hello,
Is it possible to embed Storyline 360 (try interactions) that are hosted locally and only accessible on an intranet? I have tried the URL/EMBED and I am receiving the following error "Plea...
SimonSmith-db99
3 years agoCommunity Member
I think this is a workable solution for this issue! It's very simple, just copy and paste, but it's got a few steps you need to complete.
- Add an iFrame with a target that works in rise, and that you can remember! It can be any website.
- Export your course, and unzip it.
- Find index.html in your course (either in the root directory for xapi or inside the scormcontent folder for SCORM).
- Open it with a text editor like Brackets and look for window.courseData =
- You will find a whole bunch of letters and numbers inside some quote marks. You want to copy everything within those quote marks.
- You will need to decode this course content. It's encoded as base64, so we copy and paste it into https://www.base64decode.org/ to make it human-readable.
- In the decoded text, search for your iframe code, and point the src tags at your new file, this can be something you've added in to the course folder or an intranet page. Please note, though, there are two src tags for each embed item. Don't forget to change both!
- Next, we use https://www.base64encode.org/ to re-encode the course content.
- In your text editor, paste the new version in between the quote marks.
- Zip your course up, and you're good to go.
If you try to preview the course locally by opening index.html in a browser, you probably won't see anything in the iframe because most browsers prevent local files loading in iframes. Toss it on scormcloud or test it in your LMS/LRS and you'll see your iframe working.
If you want to play around with the code a little more, once it's been decoded you can use https://unminify.com/ to make it a bit easier to read. There are a few things you can tweak in here.