Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Property

Default Value

Required

Description

traceId

null

false

To trace the error

sideMenu.enable

true

false

To show the sidebar menu / hamburger menu

sideMenu.showShare

true

false

To enable the share functionality in a sidebar menu

sideMenu.showDownload

true

false

To enable the Download functionality in a sidebar menu

sideMenu.showReplay

true

false

To enable the Replay functionality in a sidebar menu

sideMenu.showExit

true

false

To enable the exit functionality in a sidebar menu (Mostly used in mobile application to exit the player)

progressBar

[ ]

true

Previous saved state for progressBar. It is state object containing question and there associate answer status.

questions

[ ]

true

Previous saved state for questions. Array of saved questions

lastQuestionId

null

true

Last accessed question Identifier

duration

0

true

Last player duration in miliseconds.

  1. Context - Required

This Required property from the playerConfig provides the context to the player mostly in terms of the telemetry.

...

Property

Required

Description

mode

true

Mode is play for the player

threshold

false

Its a Threshold number to fetch the questions with question API

authToken

false

Authentication token

sid

true

session id of the requestor stamped by portal

did

true

uuid of the device

channel

true

Channel which has produced the event

pdata

true

Producer of the event

contextRollup

true

oontext Rollups upto level 4

tags

true

Encrypted dimension tags passed by respective channels

cdata

false

Correlation data

timeDiff

false

Last player duration

objectRollup

false

Object Rollup up to level 4

host

false

Host URL

endpoint

false

Telemetry API endpoint

userData.firstName

false

User's first name

userData.lastName

false

User's last name

...

Property

Description

instructions

These are instructions that will be placed on the first page of the question set or the section

showStartPage

This config used to show or hide the start page in questionset

timeLimits

This config used to show the maximum time to attempt the test with the warning time

navigationMode

Navigation of the questionset such as Linear, non-linear

maxScore

Total maxscore of the questionset

showTimer

To show the timer in descending order

name

Name of the Questionset

description

Description of the questionset

allowSkip

COnfig Config to tell the player if skipping the questions are allowed. If allowed then user can directly jump to any question, if cannot skip the question.

primaryCategory

Primary Category of the questionset e.g. Practice Question Set

mimeType

MimeType of the questionset which is 'application/vnd.sunbird.questionset'

maxAttempts

Maximum number of attempts one can take. It will be shown on the player. Once the all the attempts are exhausted user cannot attempt questionset anymore

showHints

Config to show/hide the hint button. By clicking on this button it will show solution page.

showFeedback

COnfig Config to show/hide feedback page. If enabled it will show feedback popup for correct and wrong answer. For wrong answer user can attempt question again by clicking on ‘Try Again’ button

requiresSubmit

Config to show/hide the submit button. This is to show submit page where all the questions are listed and user can navigate to skipped or attempted questions directly from this page before submitting the answers.

showSolutions

COnfig Config to show/hide the solution button

shuffle

Config to enable/disable the shuffle in questions