H5P not loading in WP 5.8
Submitted by clonecorp on Thu, 08/19/2021 - 22:01
Forums:
Hi,
I recently updated WP and got the 5.8 version. Everything worked well before but now the shortcode don't load on the frontend. On the backend, I can create and edit them but on the frontend, the iframe is empty.
Here's a test page : https://ohmyfrench.com/a0/
You can check this test page where there are two H5P shortcodes. You can see that the shortcodes load but the iframes are empty. Has this happened before and how to troubleshoot the problem?
I deactivated my caching plugin in case but it doesn't change anything. I'd appreciate any help.
Thanks,
Jordan.
otacke
Thu, 08/19/2021 - 23:32
Permalink
Hi!Have you checked whether
Hi!
Have you checked whether this is the problem?
Cheers,
Oliver
clonecorp
Fri, 08/20/2021 - 00:13
Permalink
Hello,I checked it. I didn't
Hello,
I checked it. I didn't change the theme, it's the same I have been using before the WP update and it already has the wp_footer() function implemented in the footer.
Cheers,
Jordan.
otacke
Fri, 08/20/2021 - 18:56
Permalink
Then it must be something
Then it must be something else. The symptoms fit though.
clonecorp
Sat, 08/21/2021 - 14:56
Permalink
Conflict with plugins
Hi,
I did some troubleshooting. I have found out one of my custom plugin is conflicting with H5P (I'll see what's wrong with it) and that WP Rocket (my cache plugin) also makes the iFrame not load on the page.
For the first pluginm I'll take care of it. For WP Rocket, I found out that the "Enable caching for logged-in WordPress users" option is in fault which is weird. Is caching not compatible with the H5P plugin?
I first thought it was iframe caching (which is not activated on my site) but it seems that the overall caching of the plugin makes the H5P iframe not load at all.
Have you had the same experience with other caching plugins?
Thanks,
Jordan.