I have been developing a screen with various videos on it. I would like learners to watch the videos again if they want to - but there is a bug in Storyline 2, where the 'media completes' trigger on the videos breaks the screens in some instances - the videos won't play again. It is... Continue Reading →
Create an HTML page with JavaScript using Storyline variables
At the end of a Storyline module I'm making, I wanted to create an easily printable page that contained all the freetext field entries the learner had made during the course. I tried doing the basic old 'window.print()' - but since Storyline on desktop runs through flash, the print function was being a bit weird.... Continue Reading →
Get learner name from LMS with JavaScript, for Captivate and Storyline
Getting the learner name from the LMS is a nice wee trick to personalise a course (used sparingly!) Using whatever API (in this instance I was using Pipwerks SCORM 1.2 demo shell), var learnerName = get('cmi.core.student_name'); The SCORM standard stores the name as LastName, FirstName MiddleInitial, so the name comes out as 'Blair, Lawrence' for... Continue Reading →
Storyline: Simulation recording size to maximise screen space at 1024×768 resolution
After testing, the maximum size to record a simulation in Storyline that will be scaled 100% (so not fuzzy etc) and fit on a monitor with 1024x768 resolution is... DRUMROLL 988x642. This fits maximised from 1024x768 in Chrome, Firefox and IE. A popup window works well with Javascript here - pops up at 1004x658. Code... Continue Reading →
Set a SCORM completion in Storyline using javascript
Run this as a 'run JavaScript' in Storyline and you're done-burgers. Storyline 360 (20.03.2018) function findLMSAPI(win) { if (win.hasOwnProperty("GetStudentID")) return win; else if (win.parent == win) return null; else return findLMSAPI(win.parent); } var lmsAPI = findLMSAPI(this); //set score; the first number is the score lmsAPI.SetScore(100, 100, 0); //set status; possible values: "completed","incomplete", "failed", "passed" lmsAPI.SetReachedEnd();... Continue Reading →