config.activity_edit.default_player_template - Initialization - Author API

Author API Initialization


The assessment player template which will be selected by default when creating a new Activity.

You would want to specify this initialization option so that you can define the assessment player template used for all new Activities.

The template reference can be either an existing custom template or a template reference which has been defined by the player_templates initialization option.

To find an existing custom template reference, go to the Activity editor "Player" section, inspect the DOM element of the custom template list entry, then find the DOM attribute value for [data-authorapi-player-reference].


var initializationOptions = {
    "config": {
        "activity_edit": {
            "default_player_template": "my-assessment-player-template-reference"


Attribute path config.activity_edit.default_player_template

Type string

Related articles

Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity.