Comment on page
The Cmi5 Class
To use any methods, you will need to create a new instance of Cmi5. The credentials are obtained from the LMS automatically via the URL launch parameters.
import Cmi5 from "@xapi/cmi5";
// Create Cmi5 instance
const cmi5: Cmi5 = new Cmi5();
// Initialize AU
cmi5.initialize();