But, recently, reader ‘deighvan’ reported a similar problem and, even better, came up with a simple solution. So I’ve incorporated a slightly modified form of this solution in a new version of the rte.php file.
Here it is:
And here are the changes … line-by-line:
- Line 51 – I’ve added an ‘onload’ action. When the api.php code has completely loaded into the frame, this will call loadSCO() which will start the SCO.
- Line 52 – When the frameset starts, I’m going to load a blank document into the ‘SCO’ frame. Why not just start with an empty frame (i.e. src=”)? Because, if I’m going to be running over an SSL connection, Internet Explorer considers an empty frame to be an insecure document and will pop up a warning message that’s annoying, and also worrying to many students.
So I try it out, and it seems to work much more smoothly than before. Once again, thanks to reader ‘deighvan’ for the suggestion.
Even better, replace ‘blank.html’ with an HTML file that displays a “Loading … Please Wait” message!
Good call! Doing that now…
Good stuff Steve, just stumbled across your site. I’ve been working on LMSs for almost 10 years, and SCORM quirks certainly trip us up a lot. A nice project you have here – any progress since the summer?
Just starting up again – moving on to errors codes and logging, and a test harness to make it easier to diagnose SCO/LMS communication problems. A new post should be out later today to start things rolling.