iFrames from within moodle are not resizing correctly
I am creating H5P content with the H5P plugin directly inside the moodle course.
To show the content on the course page, I use the iframe code provided by the newly created h5p activity.
However, the iframe content does not resize properly to fit the area it belongs in, as you can see in the attached screenshot.
When I embed the exact same content from an outside source, say my H5P-enabled WordPress site, the H5P content always resizes perfectly, so the problem only occurs when embedding h5p content from an h5p acitivty created in the moodle course.
Did any of you run into the same issue, or do you have an idea how I can fix this? I tried it with various themes and course formats, but the problem persists ...
Any help would be greatly appreciated!