-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
window.open(scormUrl) #39
Comments
Hi @Tyre88, |
Hi @dipakdas99 I've solved the problem by proxying the SCORM course through ocelot gateway and as soon as there's no CORS everything works fine. |
I didn't quite understand. Actually, I am pretty new to SCORM. Could you please tell me the workflow? |
I created a upload function where i "injected" the simplify-scorm js into the index.html in the scorm education and then injected a wrapper ontop of the simplify-scorm to call my server to take care of the logging of the status from the SCORM, all worked fine untill i wanted to open in a new window instead of the same window (it had CORS all the time) so i am not quite sure what was the problem. The main problem seemd to be that the SCORM.initialize didn't run and therefore no data was logged. |
Thanks for sharing this! ` STAART
I used the above to run scorm on the browser. Copied code from @fabmesto's question( #40 ) for POC. Am I doing anything wrong here? |
Good morning, I tried the different code examples to inject a scorm .zip file but it doesn't work. The file downloads instead of starting playback. Do you have sample code ready to work? |
All SCORM reporting works fine when i just do location.href = scormUrl;
But when i use window.open(scormUrl) the reporting doesn't work. It is fetching the last data from the backend but it seems like something goes wrong when i do "loadFromJSON(response)" and the SCORM api doesn't get initialized.
Have anyone else experienced this issue and if so, did you solve it?
The text was updated successfully, but these errors were encountered: