h5P iFrame and Filter not always displaying to students

h5P iFrame and Filter not always displaying to students

by John Provasnik -
Number of replies: 4
Picture of Particularly helpful Moodlers Picture of Testers

Hello, I'm wondering if I have a bad plugin that is causing some issues with my iframes from loading consistently for students. 

I'm using Moodle 3.5.6 with the latest H5P plug in (and H5P filter plugin). 

I have students reporting that they cannot always see an H5P, whether it's in the H5P activity, an iFrame embed, or the H5P filter. Some students have no issues, yet others see a big space where the activity or iFrame should have loaded. 

Cache clearning or computer resets don't resolve the issue. However, if a teacher logs into moodle on the student computer, the activity loads, and then when the student logs back into moodle on that same computer, then they can see the H5P activity with no issue.

This is happening on Chrome, Safari, FireFox on Mac OS 10.13

Does this console Log give any clue to anyone?


Average of ratings: -
In reply to John Provasnik

Re: h5P iFrame and Filter not always displaying to students

by florence labord -
Same trouble here.
We think about an h5p trouble in last update of core engine because we see in code iframe height 1px
In reply to John Provasnik

Re: h5P iFrame and Filter not always displaying to students

by Dorian C -

I am getting the same error... found a few posts around, but nobody proposed a right solution...


If a Student is assigned a system role as a Student he can see it also (that means Student permissions are set correctly)...

Admin can see it every time.

Student can see it if admin sees the activity first.


Looks like students cannot create cachedassets for unknown reason...

I posted on h5p forums, someone will reply hopefully because the issue is very frustrating...


Tried enabling h5p debug in config.php, did not help.

Nginx is configured to handle slash arguments.

Tried all suggestions whatever i found, but no luck yet sad

In reply to John Provasnik

Re: h5P iFrame and Filter not always displaying to students

by Dorian C -

Alright i think i found what was the issue...

All my roles had Archetype in place.


For student roles i placed the Archetype to NONE.

I placed default user role to STUDENT.


Seems that it's working for now...

Average of ratings: Useful (2)
In reply to Dorian C

Re: h5P iFrame and Filter not always displaying to students

by John Provasnik -
Picture of Particularly helpful Moodlers Picture of Testers
And mine was solved by changing the H5P permission to "cache content" from N/A to Allow for the Authenticated user role (despite it already being set to allow for the Student role).
Average of ratings: Useful (1)