H5P not working on the Moodle mobile app 3.8

Re: H5P not working on the Moodle mobile app 3.8

by Burkhard Wilmers -
Number of replies: 1
Hi All,

I am having similar problems: H5P content is not displayed on Moodle mobile app (mobile app 3.9.1 on android, Moodle 3.8.3 Build: 20200511).

Thank you, Subhash, for your hint how to fix the problem by commenting out the "header always setifempty X-Frame-Options SAMEORIGIN" in the httpd.conf file of the http server.
However, this seems to add a security risk to the http server called "Clickjacking attacks" (cref https://geekflare.com/secure-apache-from-clickjacking-with-x-frame-options/). - How risky is that?
Do all sites that run H5P on Moodle 3.8 and use the mobile app have to do this? Or are there other solutions to that?

Looking forward to your responses,
Burkhard
In reply to Burkhard Wilmers

Re: H5P not working on the Moodle mobile app 3.8

by john attwood -

I'm using the latest version of Moodle and Mobile Moodle as of this writing and had the same issue. Subhash fix still work and fix the same problem. For me I'm testing right now so I don't care and I'm not running https right now either. But thank you Burkhard for pointing out the clickjacking attacts.