I've got a curious problem. If I play a scorm package for the first time, Moodle throws a bunch of javascript alerts (see attached image).
I have embedded the scorm player in an iframe, so I suspect this is the culprit. The exact same scorm package works fine in the regular contexts (either the setting "current window" - without any further iframes - or "new window"). The only difference is that in my Moodle installation I am displaying all Moodle activities in a colorbox popup (so, in an iframe). I've adapted the Grid course format to achieve this (I'm a full time Moodle plugin developer).
So my question is: what should I do to solve or circumvent this problem? Should I hack the scorm package's javascript? Or should I take a look at Moodle's scorm player?