Memory game : a bug when less than 10 cards to use

Baic's picture

Hello.

I have a problem with an old MemoryGame on my Moodle.

This h5p was created 2 years ago, with 30 cards. The value of Behavioural Settings > Number of card to use, was marked as 6 (6 cards to use on 30)

This H5P was running OK since a long time. But actually, when we try to display it, it does not appears and after a time, Firefox ask to stop loading the page.

I discovered than if i put the Number of card to use to a value of 10 or more (or if i leave it empty), the h5p works fine. And i tried to create a new h5p with 30 cards, it is the same behavior, same bug.

 

How can i fix it ?
Do you need more informations to understand the problem ?

 

I just uploaded an example of the new H5p i made for testing, with 6 cards to use on 30. > doesn't displays
And the same with no value of cards to use. > does displays right.

 

Then you can try.

Thank you.

 

 

Summary: 
number cards use
BV52's picture

Hi Baic,

The fix for this has been released today. Updating the libraries should fix the issue for you.

https://h5p.org/post-hub-releases

-BV

Baic's picture

great ! what a fast reaction !