{% load i18n wagtailcore_tags %} {% comment %} H5P Activity block — rendered inline within a LessonPage StreamField. Outputs a lightweight placeholder
. The h5p-lesson.js IntersectionObserver watches these containers and initializes the h5p-standalone player lazily as each one approaches the viewport, avoiding unnecessary upfront loading. data-activity-id : H5PActivity PK, used to build the xAPI endpoint URL in JS. data-content-url : Base URL for h5p-standalone's h5pJsonPath option. data-xapi-url : POST endpoint for xAPI statements (CSRF-protected). data-xapi-iri : Unique IRI per activity for filtering shared dispatcher events. data-user-data-url: H5P content-user-data endpoint (resume/progress state). {% endcomment %} {% if value.activity %}

{{ value.activity.title }}

{% trans "Loading…" %}

{% endif %}