Prototype Configuration Settings

The default prototype settings are as follows. To change these settings, download the prototypes and change the values in the config.js file at the top level of the xAPI Prototypes folder according to the settings in the LRS tab of your LRS.
endpoint:
auth:
Default actor name:
Default actor mbox:
Default registration:
To generate and use a new registration UUID, click New Registration below. This will cause all of the prototypes to launch as a new attempt rather than using existing bookmarking data. Click Reset to reset registration to the original configuration value.
New RegistrationReset


Report Sample

  • A report page displaying different types of reports and information that can be generated with information stored in the LRS.
  • The data reported is actual data generated by the prototypes below.
View Report

Statement Viewer

  • An application for displaying xAPI statements using the query API.
  • The data reported is actual data generated by the prototypes below.
Statement Viewer

Golf Example

  • Records each time the course is launched with an attempt. (Uses LRS single statement puts.)
  • Keeps track of the progress of a learner and provides for a returning learner to resume progress. (Uses LRS state get/put calls.)
  • Records the learner question responses and overall score from the end of course assessment. (Uses LRS single and multi-statement puts/posts.)
  • Records course completion. (Uses LRS single statement put with score reporting.)
WARNING: Name and email will appear in the LRS viewer. Use default or made-up names & email if you don't want yours to appear. If you use defaults, on this course, you will start on the last page (since the default name and email address have been used before and are associated with reaching the last page of the course.)
Name: Email: Launch Golf Example

Js Tetris

  • Allows the player to optionally report tetris game data back to the LRS.
  • When enabled, reports when a player starts a new game of tetris. (Uses LRS single statement puts.)
  • When enabled, reports when a player achieves a new level. (Uses LRS single statement puts.)
  • When enabled, reports when a player's game is over, reporting score, levels completed, lines completed, etc. (Uses LRS single statement puts.)
  • When enabled, reports when a player achieves a top 15 high score. (Uses LRS activity profile puts.)
  • Reports the top 15 high scores achieved by all reporting players. (Uses LRS activity profile gets.)
WARNING: Name and email will appear in the LRS viewer. Use default or made-up names & email if you don't want yours to appear.
Launch Js Tetris

Locator Example

  • Requires a browser/device that allows location tracking.
  • Reports to the LRS when a user is at a specified geographic location and selects to "Save Location". (Uses LRS single statement puts with context.)
  • Reports completion to the LRS when a user has visited and saved all of the specified locations in the course. (Uses LRS single statement puts with context.)
  • For testing purposes, this example has a "cheat" such that by pressing '?' on the page, the finder will identify you as being at one of the placemarks. Pressing '?' again will disable this "cheat".
WARNING: Name and email will appear in the LRS viewer. Make up names & email if you don't want yours to appear.

If you or somebody using the email address below has already visited all of the locations, be sure to start a New Registration before launching the activity.
Name: Email: Launch Locator Example