API.Initialize() never called. Perpetual "Loading..."
using catptivate 5, outputting scorm 2004. when run without lms, runs fine, when launched lms, perpetually says "loading...".
i did javascript debugging in files output captivate scorm package. noticed find api, never calls api.initialize().
doing logging within "function captivate_dofscommand(command, args)" function, notice gets "cpslidechanged" "command" parameter in endless loop. never else.
any ideas @ all?
solved:
ok, captivate file (i found out) unhappy getting arguments passed it. near end of generated html file in scorm package line looks this.
strurlparams += (strurlparams==""?"?":"&") + "scorm_api=" + g_zapiversion + "&scorm_type=" + g_intapitype;
peeking "strurlparams" variable, noticed had value of:
"?usercmiid=42&width=1024&height=768&scorm_api=undefined&scorm_type=1.0"
i figured out causing problems changing above code this:
strurlparams = "?scorm_api=" + g_zapiversion + "&scorm_type=" + g_intapitype;
once figured out params in fact culprit, made sure (on lms side) not passed captivate html file in first place.
life again.
More discussions in Quizzing/LMS
adobe
Comments
Post a Comment