Skip to main content

SCORM export

Export a course as a SCORM package: a .zip your LMS imports (Moodle, Cornerstone, SAP SuccessFactors, Docebo, TalentLMS and the rest). Learners take the course inside the LMS, and the LMS gets completion, pass/fail and score back.

Two versions:

formatVersionPick it when
scorm12 (default)SCORM 1.2You're not sure. Almost every LMS supports it.
scorm2004SCORM 2004 3rd EditionYour LMS asks for 2004, or you want completion and pass/fail reported separately.

What's in the package​

  • One SCO for the whole course. The LMS sees one launchable item, with one completion and one score. The module list, video playback and quizzes run inside the package's own player.
  • Every ready module, in course order. Deep dives are left out (they play from a check slide).
  • The videos themselves, as the exported MP4s, with subtitles. Nothing streams from Vidocu, so the package works behind a firewall and keeps working if a share link is revoked.
  • Each module's quiz. Quizzes are graded in the learner's browser, so the answer key ships inside the package, as with every SCORM authoring tool. Keep that in mind before you share the zip outside your LMS.

What the LMS is told​

Completion follows the course's own completion rule (Course settings → Completion):

RuleA module is done when
watchThe learner has watched the threshold share of its video (seeks don't count)
watch_quizWatched, and its quiz is passed
manualThe learner marks it complete

Sequential courses stay sequential: a module unlocks when the one before it is done.

SCORM 1.2 sets cmi.core.lesson_status to incomplete until every module is done, then to passed when every quiz is passed and completed otherwise. It never reports failed, because many 1.2 LMSs read failed as "not done". cmi.core.score.raw is the mean of the best score on each quiz (an unattempted quiz counts as 0); courses without quizzes send no score.

SCORM 2004 sets cmi.completion_status (incomplete / completed), cmi.success_status (unknown / passed / failed), cmi.score.raw + cmi.score.scaled, and cmi.progress_measure (the share of modules done).

Progress resumes: watch time, quiz scores and the current module are saved in suspend_data, so a learner who closes the window picks up where they left off. Re-exporting a course with different modules starts learners over.

Languages​

One package per language. A package can be built in the course's own language or in any language at least one module video was translated into. A module that has no video in that language uses its original video. The player's buttons and labels follow the package's language (English for languages without a translation of the player), and Hebrew and Arabic packages render right to left.

List packages and languages​

GET /v1/courses/:id/scorm-exports · scope courses:read

{
"languages": [
{ "code": "en", "modules": 6, "total": 6, "source": true },
{ "code": "es", "modules": 4, "total": 6, "source": false }
],
"exports": [
{
"id": "0b6c…",
"format": "scorm12",
"locale": "en",
"status": "completed",
"filename": "pump-operator-training-en-scorm12-2026-11-24.zip",
"sizeBytes": 184230112,
"counts": { "modules": 6, "videos": 6, "quizzes": 5 },
"skippedVideos": [],
"downloadUrl": "https://…",
"downloadExpiresAt": "2026-11-24T13:00:00.000Z"
}
]
}

The last 20 packages, newest first. downloadUrl is valid for an hour. Read again for a new one.

Build a package​

POST /v1/courses/:id/scorm-exports · scope courses:write · role permission canExport

FieldTypeDescription
formatstringscorm12 (default) or scorm2004
localestringA language code from languages. Defaults to the course's own
curl -X POST https://api.vidocu.ai/v1/courses/COURSE_ID/scorm-exports \
-H "Authorization: Bearer vdo_live_your_key_here" \
-H "Content-Type: application/json" \
-d '{ "format": "scorm2004", "locale": "en" }'

Returns 202 with { "export": { "id": "…", "status": "processing" } }. The build runs in the background:

  • A module video without an up-to-date export is rendered first, charged like any export. The build waits up to 25 minutes for renders. A video that still isn't ready, or can't be rendered, is left out and listed in skippedVideos with a reason. The rest of the package is still built.
  • One build per course at a time: a second request answers 409 until the first finishes.
  • A course with no finished modules answers 400.

Get a package​

GET /v1/courses/:id/scorm-exports/:exportId · scope courses:read

Poll it until status is completed (or failed, with error). While it builds, progress says what it's doing: { "step": "videos", "message": "Videos: 3/6", "percentage": 42 }.

MCP​

export_course_scorm builds a package, list_course_scorm_exports returns the languages and recent packages, and get_course_scorm_export returns one package's status and download link.