Issue with H5P editor not showing in moodle
Hi, I'm not sure if anyone can help with this but I seem to have an issue with H5P interactive content activity not loading in Moodle.
I think it is related to something server/DB side rather than the plugin itself but would be grateful if anyone has any advice. I have noticed that TinyMCE editor on Moodle Label activity doesn't load either so I feel it is related to js not loading.
From the error console in chrome I get the following:
7d64da4609009d87511b2329e2f8ae02648b25aa.css:1 Failed to load resource: net::ERR_HTTP2_PROTOCOL_ERROR
7d64da4609009d87511b2329e2f8ae02648b25aa.js:1 Failed to load resource: net::ERR_HTTP2_PROTOCOL_ERROR
h5p.js?ver=2020080400:976 Unable to find constructor for: H5P.InteractiveBook 1.3
H5P.error @ h5p.js?ver=2020080400:976
jquery.js?ver=2020080400:2 jQuery.Deferred exception: Cannot read property 'getCopyrights' of undefined TypeError: Cannot read property 'getCopyrights' of undefined
at Object.H5P.getCopyrights (https://training.volunteercadetcorps.org/mod/hvp/library/js/h5p.js?ver=2...)
at HTMLDivElement.<anonymous> (https://training.volunteercadetcorps.org/mod/hvp/library/js/h5p.js?ver=2...)
at Function.each (https://training.volunteercadetcorps.org/mod/hvp/library/js/jquery.js?ve...)
at S.fn.init.each (https://training.volunteercadetcorps.org/mod/hvp/library/js/jquery.js?ve...)
at Object.H5P.init (https://training.volunteercadetcorps.org/mod/hvp/library/js/h5p.js?ver=2...)
at HTMLDocument.<anonymous> (https://training.volunteercadetcorps.org/mod/hvp/library/js/h5p.js?ver=2...)
at e (https://training.volunteercadetcorps.org/mod/hvp/library/js/jquery.js?ve...)
at t (https://training.volunteercadetcorps.org/mod/hvp/library/js/jquery.js?ve...) undefined
S.Deferred.exceptionHook @ jquery.js?ver=2020080400:2
jquery.js?ver=2020080400:2 Uncaught TypeError: Cannot read property 'getCopyrights' of undefined
at Object.H5P.getCopyrights (h5p.js?ver=2020080400:1115)
at HTMLDivElement.<anonymous> (h5p.js?ver=2020080400:174)
at Function.each (jquery.js?ver=2020080400:2)
at S.fn.init.each (jquery.js?ver=2020080400:2)
at Object.H5P.init (h5p.js?ver=2020080400:93)
at HTMLDocument.<anonymous> (h5p.js?ver=2020080400:2821)
at e (jquery.js?ver=2020080400:2)
at t (jquery.js?ver=2020080400:2)
Moodle v3.10 with latest H5P plugin installed.
Many thanks in advance
benji842
Wed, 04/14/2021 - 15:06
Permalink
Just to add, I managed to
Just to add, I managed to resolve this by adding a line of code to .htaccess file in moodle as follows:
https://stackoverflow.com/questions/58215104/whats-the-neterr-http2-prot...
Please note, that I have also had to disable H5P hubs in the plugin settings as this is not loading. This is not ideal and will need to investigate further to ensure that libraries stay up to date
adelhierros
Thu, 04/15/2021 - 01:42
Permalink
problemas con la visualización del editor
Necesito ver el editor extendido.