Documentation

Off-line playback

All objects created in mAuthor have XML format and can be output and played back in all prevalent operating systems and devices.

To use the content offline, you need to first export it to a SCORM package and then embed it independently in any application.

There are three ways to embed Player in the application:

  • from exported lesson (recommended)
  • from a pre-built package in mAuthor
  • from sources

Embedding Player from the exported package

Each exported SCORM package comes with all the necessary files like Player, jQuery, MathJax library etc. You can use index.html file to view a lesson or create one yourself. Basic HTML site content necessary to do it is presented in the official documentation.

Pros:

*The Player and a lesson are always compatible

Cons:

  • When the Player's update is necessary, it has to be performed individually in each package/lesson

Updating Player in existing packages

Once downloaded, the offline package should not require any other actions to play. Updating the Player to a newer version is very simple and straightforward and it is enough to perform the following steps:

  1. download the latest Player package by clicking on this link
  2. unzip its contents
  3. replace 'icplayer' and 'javascript' folders in the SCORM package with those from the unziped file

Embedding Player from the pre-built package

A ready to use Player package is always available in mAuthor. To download it, click here. This is the same package which is used while creating SCORM packages for export. After downloading, just unzip its content and place it in your application. To use the Player for all lessons, change the script URL as follows:

<script type="text/javascript" language="javascript"
    src="<path_to_player_folder>/icplayer.nocache.js">
</script>

Pros:

  • Updating the Player can be done globally for all lessons instead of only one at a time

Cons:

  • Some lessons can be incompatible with a newer version of the Player

Embedding Player from sources

The Player is an open source project with sources housed on GitHub. Project sources can be downloaded directly from site or checkout from remote GIT repository. After getting sources and meeting the requirements, the Player can be built by the following build process instructions.

Pros:

  • Updating the Player can be done globally for all lessons instead of only one at a time

Cons:

  • Some lessons can be incompatible with a newer version of the Player

For more information, not included in this documentation, please go to official Player site.