H5P and math display issue

H5P and math display issue

by Rok Lipnik -
Number of replies: 5

Hey, dear Moodlers,

any idea on how to properly use Math display in H5P? I have installed the library (1.0.6), Mathjax works properly (as seen in the attachment), yet if I add a math object into H5P, it displays it as text only.

Am I missing something?

Using Ubuntu 20.04 as server, Moodle 3.9, and H5P 1.21.0.

Attachment Screenshot 2020-11-15 at 12.37.11.png
Attachment Screenshot 2020-11-15 at 12.37.17.png
Attachment Screenshot 2020-11-15 at 12.37.37.png
Average of ratings: Useful (1)
In reply to Rok Lipnik

Re: H5P and math display issue

by Daniel Thies -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Hi Rok,

H5P stores a lot locally in the browser. You may try clearing the site data for your site in your browser preferences or try with an incognito browser. That seemed to fix the issue for me.

Daniel

In reply to Daniel Thies

Re: H5P and math display issue

by Rok Lipnik -
Thank you for the idea. I have tried it and it still didn't work unfortunately.
In reply to Rok Lipnik

Re: H5P and math display issue

by Tom Dierckx -

Same problem here. 

Added configuration to config.php as mentioned here, but to no effect. 

Any clues? 

In reply to Tom Dierckx

Re: H5P and math display issue

by Oliver Tacke -
Picture of Particularly helpful Moodlers
Hi Tom!

Adding the configuration is optional if you want to change the default settings, but it does not required - in contrast to installing the MathDisplay library as mentioned at the top of the site that you linked to. Did you forget to do that possibly?

If you are running both, the moodle core integration of H5P and the H5P plugin for moodle, keep in mind that they don't share the H5P libraries. You will have to install it for both (or the one that you want to work with LaTeX).

Best,
Oliver
In reply to Oliver Tacke

Re: H5P and math display issue

by Rok Lipnik -
Thank you for your comment. I went and reinstalled the library on both ends ... and it works now!