DRAG AND DROP doesn't work anymore

Hello,

I'm using H5P plugin on my WordPress site.

until a few days ago, evry H5P plugins were working perfectly. SInce a few day I have problems with drag and drop.  doesn't work anymore : I get an empty page.
I have done a test with the development site (which is 3 months old) On this site it's OK.

Here an example of the page in test site (which is OK) and on the running site which doesn't work anymore.

test site url : Taquin – La mère et l’enfant – Le voyage de Betsalel

Running site url : https://levoyagedebetsalel.com/publication/taquin-la-mere-et-lenfant/


What can I do to get the running site working.


Thank you for help

best regards

Michel Rottenberg
webmaster for 'levoyagedebetsalel.com'

Content types: 
otacke's picture

Have you checked other plugins for interferance with H5P? You seem to be using "LiteSpeed", for instance, which introduced lazy loading. Lazy loading is known to change the loading order of files in a way that breaks H5P.

Hello,

Other H5P plugins (multiple hot spot) are working well. I have just a problem with Drag and Drop.

I'm using  Litespeed Cache.

How can I solve the problem ?
thank you for your recommandations and help

Best regards

Michel



I'm using other H5P plugins without any problem.
I'm also using Litespeed Cache.

Which parameters of Litespeed Cache do I need to change to solve the problem ?
In advance thank you foir recommandations

bestg regards
Michel

hello,
others H5P plugins work well (multiple hot spot).
I'm using Litespeed Cache.
How can I solve the problem ?

thank you for your recommandations and help

best regards

Michel





Hello,

Other H5P plugins (multiple hot spot) are working well. I have just a problem with Drag and Drop.

I'm using  Litespeed Cache.

How can I solve the problem ?
thank you for your recommandations and help

Best regards

Michel




otacke's picture

Hi Michel!

I have no knowledge about Litespeed whatsoever. I just noticed that it's running on that site, and the console message "[LiteSpeed] Start Lazy Load" makes it pretty obvious what it is. As I said: Lazy loading can be a problem for H5P. To rule out that it's Litespeed that's causing the issue, you could temporarily deactivate it.

Another difference compared to your test site is a scipt named "pum-site-scripts.js" which seems to be related to popups. Might interfere as well.

The H5P iframe is there, but it's not filled with the content. That can also mean your theme is not calling `do_action( 'wp_footer' );`. It's usually called when WordPress displays a footer. H5P interprets that action as a signal that WordPress is done building the post/page and H5P can start its work: to actually fill the H5P iframe with life.

Cheers,
Oliver

p.s.: Very creative use of Drag&Drop on your test site, like it!