> For the complete documentation index, see [llms.txt](https://docs.supademo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.supademo.com/share/exports/export-to-scorm.md).

# Export to SCORM

Bring your interactive demos and showcases into your LMS as SCORM 1.2 courses, with completion rules and progress tracking for training and certification.

***

### **What is Export to SCORM?**

Export to SCORM turns any demo or showcase into a **SCORM 1.2 package** you can upload to your **LMS** (learning management system), such as Cornerstone, Docebo, Moodle, TalentLMS, SCORM Cloud, LearnDash, Litmos, or Absorb. Your interactive walkthroughs become course modules that learners take inside the platform they already use.

A SCORM package is a `.zip` file that your LMS unpacks and launches as a course. Before you download it, the **SCORM package settings** let you choose when a learner gets credit with **Mark complete**, review the **Course identifier** your LMS uses to recognize the course, and set the **Course title** learners see. The package then reports learner **completion**, **progress**, and **session time** back to your LMS automatically.

{% @supademo/embed url="<https://app.supademo.com/demo/cmw2po0d601ryqmuzud80g4zi>" demoId="cmw2po0d601ryqmuzud80g4zi" %}

***

### **Before you start**

You'll need:

* A demo or showcase you want to export
* An LMS that supports SCORM 1.2 uploads

***

### **1. Open the download options**

1. Click **Share** on your demo or showcase to see all the ways you can share and export it.
2. Click **Download** to view the export formats, including SCORM for your LMS.

***

### **2. Configure SCORM package settings**

1. Click the **SCORM package settings** gear icon to customize your export before downloading.
2. Use the **Mark complete** dropdown to choose when your LMS marks the course as complete, such as **When the learner finishes the demo**. See [Completion rules](#completion-rules) for how each option works.
3. Review the **Course identifier**. Your LMS uses this ID to recognize the course, so future uploads replace the old version instead of creating a duplicate.
4. Review or update the **Course title**. This is the course name learners see in your LMS.

> 💡 **Tip:** Keep the same **Course identifier** when you re-export an updated demo, so your LMS replaces the existing course instead of adding a second copy.

***

### **3. Download and upload to your LMS**

1. Click **Download** to generate your SCORM package as a `.zip` file.
2. Upload the `.zip` to your LMS as a **SCORM 1.2** course. Your LMS unzips the package, launches the course, and starts tracking learner activity.

{% hint style="warning" %}
**Test in your target LMS before rolling out.** SCORM behavior varies between platforms, and some LMSs restrict third-party iframes, popups, or cookies. Upload your package, run a single test launch, and confirm completion reports correctly before assigning it to learners.
{% endhint %}

***

### **4. Use the free SCORM generator (no sign-in)**

You can also create a SCORM package without opening Supademo, using our free browser-based generator. It wraps your Supademo link or iframe embed in a lightweight SCORM 1.2 wrapper, so your demo stays hosted by Supademo and you can update it any time without re-uploading the SCORM file.

{% hint style="info" %}
**Free for everyone.** No Supademo plan or sign-in is required. The package is generated entirely in your browser, so your embed code, URLs, and downloaded zip never touch Supademo's servers.
{% endhint %}

{% @supademo/embed url="<https://app.supademo.com/demo/cmp5ph1s900030j0pz72wbqd8>" demoId="cmp5ph1s900030j0pz72wbqd8" %}

1. Open the generator at [`supademo.com/tools/iframe-to-scorm`](https://supademo.com/tools/iframe-to-scorm).
2. Paste a Supademo `/demo/` or `/embed/` link, or the full Supademo iframe embed block (including the surrounding `<div>`).
3. Configure the package:
   * **Course title:** the name your LMS displays on the module
   * **Course identifier:** the SCORM manifest identifier, auto-generated from the title
   * **Aspect ratio + min height:** how the embed sizes responsively inside the LMS player
   * **Completion rule:** when the LMS marks the module complete (see [Completion rules](#completion-rules))
   * **Show manual fallback button:** adds a learner-facing **Mark complete** button for fallback or attestation
4. Click **Generate SCORM package** to download the `.zip`.
5. Upload the `.zip` to your LMS as a SCORM 1.2 course.

> 💡 **Tip:** The generator works with any URL or embedded experience, such as a video, form, or help center page, so you can turn it into an LMS module without authoring SCORM content from scratch.

***

### **Completion rules**

Choose how your LMS marks the module complete. The default completes the course when the learner finishes the Supademo, using real engagement signals from the embed.

| Rule                                             | When it fires                                                                                                                                                                                   | Best for                                                                                                                                        |
| ------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| **Auto-complete on Supademo finish** *(default)* | When the learner reaches the final slide and the demo emits the `Supademo:completed` event. Live progress (`0–100%`) also streams into the LMS score field as the learner moves through slides. | Any Supademo demo. The most accurate option, since completion reflects real engagement rather than time or button clicks.                       |
| **Complete after active viewing time**           | After a set number of seconds (default `30`) of *active* viewing. Tracking pauses if the embed scrolls off screen or the LMS tab moves to the background.                                       | Demos or videos where you want learners to spend meaningful time on the content.                                                                |
| **Complete when learner clicks a button**        | When the learner clicks the **Mark complete** button on the launch page.                                                                                                                        | Attestation flows, compliance modules, or content without a clear "finished" signal. Requires **Show manual fallback button** in the generator. |
| **Complete when launched**                       | As soon as the module loads in the LMS.                                                                                                                                                         | Click-through, sign-off, or "viewed" tracking where opening the module is enough.                                                               |

***

### **Supademo event tracking**

With **Auto-complete on Supademo finish**, the SCORM wrapper listens for `postMessage` events from the embedded Supademo (messages where `data.source === "Supademo"`) and translates them into SCORM API calls. See the [embed events API](/share/embed/embed-events-api.md) for details on each event.

| Supademo event         | Trigger                                                      | SCORM API call                                                                                                                  |
| ---------------------- | ------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------- |
| `Supademo:load`        | The demo finishes loading in the iframe.                     | `LMSInitialize("")`, then sets `cmi.core.lesson_status` to `incomplete`.                                                        |
| `Supademo:started`     | The learner first interacts with the demo.                   | No call. Reserved as an engagement signal.                                                                                      |
| `Supademo:slideChange` | The learner moves to a different slide.                      | No direct call; `Supademo:progress` is emitted alongside it.                                                                    |
| `Supademo:progress`    | Emitted with each slide change, with a percentage (`0–100`). | Sets `cmi.core.score.raw` to the percentage (`score.min=0`, `score.max=100`), then `LMSCommit("")`.                             |
| `Supademo:completed`   | The learner reaches the final slide.                         | Sets `cmi.core.lesson_status` to `completed`, `cmi.core.score.raw` to `100`, and `cmi.core.session_time`, then `LMSCommit("")`. |
| `Supademo:close`       | The learner presses **ESC**.                                 | No call. Session time is saved on the next `LMSCommit`.                                                                         |

{% hint style="info" %}
**Progress reporting works with every completion rule.** Even with **Complete after active viewing time** or the manual button, `Supademo:progress` still feeds the LMS score field. Only the **completion** trigger depends on the rule you select.
{% endhint %}

**Example event payload**

```json
{
  "source": "Supademo",
  "type": "Supademo:progress",
  "demoId": "cmp33sl3904h9gh7abylz7nl0",
  "currentSlide": 3,
  "totalSlides": 5,
  "percentage": 60
}
```
