A React SCORM preview component with a SCORM-loading service worker
npm install @escolalms/scorm-playerA simple SCORM (Sharable Content Object Reference Model) player for loading and running SCORM packages.
- Loads SCORM 1.2 packages.
- Tracks progress and completion status.
- Provides a minimal UI for interaction.
1. Clone or download this repository.
2. Install required dependencies if applicable.
3. Ensure your web server is configured correctly to serve this project.
1. Copy the entire "public" folder.
2. Paste it into your existing project's "public" directory.
3. Adjust paths and references as needed.
1. Run the application on a web server.
2. Place SCORM packages in the designated folder.
3. Access the player in your browser to launch SCORM courses.
- Fork the repository.
- Create a new branch for your feature or bugfix.
- Submit a pull request for review.
``
// src/App.tsx
import React from 'react';
import { ScormPreview } from 'scorm-player';
function App() {
return (
export default App;
``