Unable to find constructor for H5P.iframeEmbed
Submitted by lesterstoffels on Tue, 11/22/2016 - 17:09
Please help. I keep on getting this errors:
h5p.js?ver=2016110100:871 Unable to find constructor for: H5P.IFrameEmbed 1.0
and together with that error this following error:
h5p.js?ver=2016110100:984 Uncaught TypeError: Cannot read property 'getCopyrights' of undefined(…)
These errors causes the data that i've embedded not to show. It only shows blank. see attachment.
Wed, 11/23/2016 - 09:41
Which version of Moodle are
Which version of Moodle are you running?
You can disable the aggregation by adding the following to your config.php:
Do you still get the same error's in your browser's console?
Note that this isn't a recommended production setting as it will increase the load time.
Wed, 11/23/2016 - 09:49
version of moodle
Im on 3.1.2+
The errors on server log is "mod fcgi errors".
Wed, 11/23/2016 - 09:53
Ah, yes then there's
Ah, yes then there's something wrong with PHP/the plugin. I guess you'll have to enable the error messages for us to know what the issue is. You can do this by adding the following to config.php and reloading the page, or re-saving the H5P content:
Wed, 11/23/2016 - 10:04
I've added that script to the
I've added that script to the config file. Where will the error messages appear.
Wed, 11/23/2016 - 10:21
The should appear both in the
The should appear both in the browser and the web server's log when saving H5P content. I would check both places to be sure.