-
Notifications
You must be signed in to change notification settings - Fork 77
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
Question: back button api lost connection #40
Comments
Hi @fabmesto, |
Hi @dipakdas99 |
@fabmesto Looking at your example with the Chrome Console open, you can see that when pressing the Back button on the browser, the training gets unloaded and correctly terminates the SCORM API (which it is supposed to do; when a training is unloaded, it should terminate the API). Once the API is terminated, it does not allow being initialized again. One solution could be to listen to the Terminate event, and call the API's reset function to allow it to be used again. See the Resetting section of the readme. |
Hi, I don't know if the repository code still works but I can't do it: I have the following error:
Can you help me ? |
hi, i would like to understand if my code is correct for start lesson:
This code works, but when user click back button API lost connection with lesson.
To restart everything I am forced to refresh browser.
The text was updated successfully, but these errors were encountered: