Make h5p auto resize in iframe

Created on 17 September 2021, almost 4 years ago
Updated 6 August 2025, 6 days ago

Problem/Motivation

Make h5p auto resize in iframe. The iframe does not resize according to its content.

Steps to reproduce

Add h5p content using views so that the embed.php is used.
The content is show, but not all is visible.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Active

Component

Code

Created by

🇫🇮Finland anaconda777

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇺🇸United States illeace

    Using Drupal 11 and the 2.0.0-alpha6 module, I believe this is fixed. I've created a view displaying H5Ps and also used the embed code to embed an H5P in the body of other content. In both cases, when I resize the browser window to make it smaller and then larger, I see the iframe shrink and expand as expected. Unless I am misinterpreting this, I suggest we mark this "Closed (outdated)".

Production build 0.71.5 2024