Embed a Conversation within a SCORM package

Modified on Tue, 3 Feb at 8:11 PM

Configure your SCORM Package to send learner completion data to the host LMS


Before you start



Use the example SCORM Package

Great for testing, or where a single Conversation is being added to your LMS as a standalone course

  1. Download Example_SCORM_Package.zip (download at bottom of page)
    1. Edit index.html
    2. Replace the iframe src property with the iframe src property from your embed code
    3. Save index.html
  2. Rezip the contents into your named SCORM package file
  3. Upload to your SCORM-compliant LMS



Bring your own SCORM Package

Great for adding a single Conversation to an existing SCORM Package

  1. Add post-message.js to your SCORM package (download at bottom of page)
    1. Edit index.html
    2. Add the following within the <head> element
      <script src="post-message.js"></script>
      <script defer>
        function markCompleted() {
          if (API) {
            var result = API.LMSSetValue("cmi.core.lesson_status", "completed");
            if (result === "true") {
              API.LMSCommit("");
            } else {
              alert("Error marking course as completed.");
            }
          }
        }
        onCompleted(markCompleted);
      </script>
    3. The markedCompleted() function can be modified/extended as required

    4. Add your Conversation's embed code within the <body> element
      Tip: Consider changing the width and height to 100%
    5. Save index.html
  2. Package using your existing SCORM Packaging workflow
  3. Upload to your SCORM-compliant LMS





Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article