-
Notifications
You must be signed in to change notification settings - Fork 6
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
API-SecurityError Cross-Origin #5
Comments
Hi @Werewolve and thanks for reaching out. We created this project initially for internal use but we were hoping that others may find use in it, so we're very glad that you found us :) We haven't had the occasion yet to test SCOL-R outside of our specific use case, so we are not familiar with all possible errors depending on the variety of situations. Your error message doesn't seem to come from SCOL-R, so I'm guessing it's an issue either with your LMS or with your SCORM content. I'd be happy to schedule a short call with screen sharing so that you could show us the problem live, because I'm not sure I understand the scenario. Feel free to reach out by email ([email protected]) if you'd like to do so, you can suggest a couple of time slots during which you're available over the next few days. |
@arnaudriegert I dropped a mail. Thanks =) |
I also notice that "win.addEventListener('message', function (e) {" is never called. And I can't find any code that does the postMessage. Who should do that? I tried some demo scorm modules from the internet, also there the callback is not called. |
I did some more research. We need a script that is kind of injected into the SCROM window under the API property name that will receives the requests from the module and will convert it to postMessages. This message then get received from the SCORMAdapter and ends in the LMS. To archive this, I think we need to modify the scorm module itself and inject this script. Currently your script does really do anything. It just works because your SCORM module and LMS is on the same domain. Right? Or am I totally wrong? |
Hi @Werewolve I'm sorry I haven't been able to reply yet, I've had a busy week :/ However, I can confirm that we have SCOL-R working when the LMS and the SCORM module are hosted on different domains... I'll read your messages more in detail as soon as I can (Monday at the latest) and ping you on Skype if I need to see your bug live :) |
Hi @arnaudriegert, |
Hi @arnaudriegert, I've started a thread on Stack Overflow: Would be nice if you can give me just some information about your LMS, your content streaming sever and your SCORM Module. I want to find out in which area the problem lies. Thanks! |
Hi @arnaudriegert, did you have time to check this issue ? |
Hey!
First thanks that you offer this useful project.
I followed your instruction and uploaded the module to my LMS. But still getting this error:
Any ideas whats wrong? Or didn't I get it right that this project is for hosting SCORM content on an other domain than the LMS is?
Thanks for helping!
The text was updated successfully, but these errors were encountered: