I'm serving a course from Moodle with the launch.html trick that has been discussed on this forum (a launch.html that uses window.open to open the course in a new window) to allow it to be adaptive.
Works on safari but on chrome I am having a few issues.
- the new window isn't spawned. It looks like chrome deliberately prevents windows being opened automatically in this way. I have added a manual open new window button to workaround this but I think this is causing this next major issue ->
- I'm getting the can't connect to LMS error from the Spoor extension. If I press cancel every time this appears the course eventually loads (and works pretty well) but if I press ok it gets stuck on the loading screen.
I hacked the code to remove the error message but then it just gets stuck on the loading screen. It looks like the cancel button is sending a return code that allows it to continue.
It looks like it can't find the API object in chrome. I think it's due to the pipwerks.SCORM.API.get function in SCORM_API_wrapper.js. The new window can't find the Moodle SCORM API.
Any got any ideas on where I should look to fix this or any workarounds? Ideally I'd fix it to communicate with the LMS but otherwise I want it to fail silently and continue, or if I can get ipad chrome to not block auto pop ups...