This topic contains multiple H5P content.
The purpose of this topic is to test, if the H5p content which library is not on the ELC white-list is ignored.
Ignored means, the plugin does not enable/disable LearnDash buttons and does not process events triggered by ignored libraries.
H5P content info:
Edit H5P content ID: 50
H5P.org example:
Personality Quiz
ELC H5P Library Info:
Library name: | PersonalityQuiz |
Library version: | 1.0.8 |
xAPI implementation: | NO |
Scores: | NO |
On the white list: | NO |
The Library name and version are pulled from content definition stored in database.
No behaviours to configure.
Testing notes:
-
There are no xAPI events are triggered.
On how to listen to xAPI events see:
H5P and xAPI page.
- LearnDash progress control (such as 'Mark Complete') button state (enabled/disabled) is set by LearnDash only.
- If 'Debug' is enabled in
Settings page,
the 'elc_h5p' shortcode should print 'DEBUG: Not on the white-list'.
Otherwise the 'elc_h5p' shortcode should not be rendered.
H5P content info:
Edit H5P content ID: 51
H5P.org example:
Questionnaire
ELC H5P Library Info:
Library name: | Questionnaire |
Library version: | 1.3.2 |
xAPI implementation: | YES |
Scores: | NO |
On the white list: | NO |
The Library name and version are pulled from content definition stored in database.
No behaviours to configure.
Testing notes:
-
xAPI events are triggered.
On how to listen to xAPI events see:
H5P and xAPI page.
- LearnDash progress control (such as 'Mark Complete') button state (enabled/disabled) is set by LearnDash only.
- If 'Debug' is enabled in
Settings page,
the 'elc_h5p' shortcode should print 'DEBUG: Not on the white-list'.
Otherwise the 'elc_h5p' shortcode should not be rendered.
H5P content info:
Edit H5P content ID: 53
H5P.org example:
Speak the Words
ELC H5P Library Info:
Library name: | SpeakTheWords |
Library version: | 1.3.11 |
xAPI implementation: | YES |
Scores: | YES |
On the white list: | YES |
The Library name and version are pulled from content definition stored in database.
No behaviours to configure.
Testing notes:
-
xAPI events are triggered.
On how to listen to xAPI events see:
H5P and xAPI page.
- LearnDash progress control (such as 'Mark Complete') button state (enabled/disabled)
is overriden by H5P content result completion.
- The 'elc_h5p' shortcode should print messages as configured in
Settings page.
If 'Debug' is enabled in
Settings page
and 'ignore' attribute is present, the 'elc_h5p' shortcode should print 'DEBUG: Ignored'.
Must complete message.
H5P content info:
Edit H5P content ID: 52
H5P.org example:
Single Choice Set
ELC H5P Library Info:
Library name: | SingleChoiceSet |
Library version: | 1.11.14 |
xAPI implementation: | YES |
Scores: | YES |
On the white list: | YES |
The Library name and version are pulled from content definition stored in database.
Behavioural settings:
Label | Value | Default |
Auto continue |
true |
true |
Timeout on correct answers |
1000 |
2000 |
Timeout on wrong answers |
1000 |
3000 |
Enable sound effects |
true |
true |
Enable retry button |
true |
true |
Enable show solution button |
true |
true |
Pass percentage |
100 |
100 |
The configuration (field values in 'Behavioural settings') are set when editting the H5P content are pulled from content definition stored in database. The field labels and default values which populate 'Behavioural settings' are pulled from semantics.json file.
The H5P.org examples may have settings that do differ from library defaults.
Testing notes:
-
xAPI events are triggered.
On how to listen to xAPI events see:
H5P and xAPI page.
- LearnDash progress control (such as 'Mark Complete') button state (enabled/disabled)
is overriden by H5P content result completion.
- The 'elc_h5p' shortcode should print messages as configured in
Settings page.
If 'Debug' is enabled in
Settings page
and 'ignore' attribute is present, the 'elc_h5p' shortcode should print 'DEBUG: Ignored'.
Must complete message.