Course Progression Control #
The plugin controls course progression by enabling or disabling the “Mark Complete” or “Start Quiz” buttons until H5P activities are completed. Results and states are stored along with their associated context (course and course step).
Quiz Question Integration #
Embed H5P activities directly into LearnDash quiz questions:
- Create a quiz question and set the Answer Type to “Assessment”.
- Add the H5P shortcode (e.g. [h5p id=”3″]) to the question text.
- Enter placeholder text (e.g. less true { [1] [2] [3] [4] [5] } more true in the Answers field.
- The plugin updates this to reflect the text in Question Answer Text and the maximum points for the H5P content.
Features implemented in ver. 3.0 #
Context Integration #
The plugin saves and restores H5P activity results and states within the context of their usage (course, lesson, topic, or quiz). This allows the same H5P activity to be reused across multiple courses and steps without duplication, aligning with the “Create Once, Publish Everywhere” (COPE) principle.
Course Progress Details #
- This feature allows marking courses, lessons, topics, and their child elements (including quizzes) as incomplete.
- Facilitates clearing database entries that control the “Mark Complete” and “Start Quiz” buttons for specific course sections (context).
Note: Marking a course as incomplete will also mark all its steps and substeps as incomplete. Marking a lesson as incomplete will mark the lesson and all its topics as incomplete.
Consequence: The “H5P for LearnDash” plugin will reset completion status and state for all associated H5P activities within the marked context.
See Also: Course Progress Details
Mark Incomplete Button #
- The “Mark Incomplete” button allows users to reset the completion state of a specific course step (lesson or topic).
- This functionality clears the completion state of the selected step only, without affecting the completion state of its child elements (e.g., topics within a lesson).
Note: This functionality is not available for quizzes.
Consequence: The “H5P for LearnDash” plugin will reset the completion status and state for all H5P activities associated with the marked course step.
See Also: Mark Incomplete Enabled
Course Access Expiration #
- When the “Course Access Expiration” setting is enabled along with the “Data Deletion” option, the completion state for the course and its steps is automatically reset.
- As a consequence, the “H5P for LearnDash” plugin will reset the completion status and state for all H5P activities associated with the course.
See Also: Course Access Expiration
Enable Quiz Saving (Continue quiz) #
- This feature allows for saving and restoring H5P scores and content when the user continues the quiz.
- The “H5P for LearnDash” plugin will restore the state of H5P activities within quiz questions, provided the H5P activity itself supports state saving.
See: Enable Quiz Saving
H5P ‘Save Content State’ #
This feature enables saving and restoring H5P content state based on the learning context (lesson, topic, quiz).
Enable “Save Content State” in H5P Settings #
- Navigate to Settings > H5P in your WordPress admin panel.
- Locate and check the “Save Content State” checkbox.
Note: A screenshot of this setting and its associated “Auto-save frequency” field should be included in the documentation.
- “Save Content State” allows logged-in users to resume their work on H5P activities even if they navigate away from the page.
- “Auto-save Frequency”:
- Sets the time interval (in seconds) at which the activity state is automatically saved to the database.
- This is a global setting that applies to all H5P activities that support state saving.
- The default value is 30 seconds.