Skip to content

Fix task detection - #421

Open
otacke wants to merge 2 commits into
h5p:masterfrom
otacke:fix-task-detection
Open

Fix task detection#421
otacke wants to merge 2 commits into
h5p:masterfrom
otacke:fix-task-detection

Conversation

@otacke

@otacke otacke commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

What kind of change does this PR introduce?
Bug fix

What is the current behaviour?
Interactive Video fails to reliably detect whether a subcontent is a "task" and will report that wrong to parent content, cmp. h5p/h5p-course-presentation#418

What is the new behaviour?
Amended the logic to determine whether a subcontent is a "task" to also consider a maximum score > 0 as an indicator for being a task.

Fixes h5p/h5p-course-presentation#418

PR Checklist

Before submitting, please confirm:

  • I searched for existing issues/PRs first
  • I linked related issues/discussions
  • I tested my changes locally

Read the contribution guidelines to get your pr accepted more quickly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

Development

Successfully merging this pull request may close these issues.

[Bug]: Course presentation summary is not show if embedded interactive video uses single choice set question.

1 participant