Error - Unable to acquire LMS API, need implementation tutorial
Hi, is anyone can give example of scorm-again implementation
I try implementing this package and getting this error

Scorm package are the same used by https://github.com/jcputney/scorm-again/tree/gh-pages, but when I move and try to implement it, it still get that error, even I use same function like on that link which has lms.js, common.js, and another dependencies
I try to implement it on laravel project, and here's my index.blade.php https://pastebin.com/xfuJ2Ws8
thank you
@abanghendri nothing jumps out to me as wrong here, other than the lmsCommitUrl pointing to /scorm rather than /scorm12, /scorm2004, or /aiic depending on the module you are trying to load. It's possible that an incorrect commit URL is throwing an error, which is causing window.API to not be set? I would start there at least.
There's no simple documentation and UI to show how everything works
@abanghendri nothing jumps out to me as wrong here, other than the
lmsCommitUrlpointing to/scormrather than/scorm12,/scorm2004, or/aiicdepending on the module you are trying to load. It's possible that an incorrect commit URL is throwing an error, which is causingwindow.APIto not be set? I would start there at least.
I am trying to implement scorm-again to launch and track scorm progress in react application, but when trying to add events to window.API its not triggering. Am I doing something wrong???
My Code is: