Hi folks, Below code i used to trigger LMSInitialize() method on index.html file.
But its throw Reference Error while executing html file...
Thanks for advance!!
document.addEventListener("DOMContentLoaded", function() {
const initialized = LMSInitialize();
if (initialized) {
console.log("SCORM API initialized successfully.");
} else {
console.error("Failed to initialize SCORM API.");
}
});
Hi folks, Below code i used to trigger LMSInitialize() method on index.html file. But its throw Reference Error while executing html file... Thanks for advance!!