Skip to content

Quick Start

Mark Statkus edited this page Aug 20, 2015 · 6 revisions

Bypassing the full documentation this is as lean as it gets.

  1. Take QUnit-Tests/js/scorm.bot.pack.js and add it to your project (SCO).
  2. At the bottom of your HTML, you need the following (minimal) -
var scorm = new SCOBotBase({                   
        debug         : true,                  // true or false
        exit_type     : 'suspend',             // suspend, finish
        success_status: 'unknown',             // passed, failed, unknown
    }),
    SB    = new SCOBot({
        happyEnding   : true
    });
  1. SCOBot will fire a 'load' event letting you know it is safe for you to load your presentation.
SCOBotUtil.addEvent(SB, 'load', function(e) {         // in 4.x.x
	// SCOBot already took care of connection to the LMS and Initialize!
	// Do everything else you would do to fire up or resume your content here.
	player = new SCOPlayer(); // or player.init();  You customize this!
	return false;
});
  1. Package your content using SCORM 1.2 or SCORM 2004
  2. Deploy on a LMS