Fusion Builder and h5p compatibility
Submitted by Juan Fernandez on Tue, 03/17/2020 - 19:59
Forums:
Hi!
I use h5p pluging for wordpress. The text editor is Fusion Builder (Avada theme). If I add the shortcode on a post, the activity is visible on the preview mode, but as soon as I publish or update the post, the activity disappears. This problem doesn´t happen when using the embed code of the activity.
I have contacted Fusion Builder support and they told me to contact h5p to check compatibility with their pluging.
Any suggestions of what I can do to resolve the problem?
Kind regards,
Juan Fernandez
BV52
Wed, 03/18/2020 - 18:23
Permalink
Hi Juan,Can you check if you
Hi Juan,
Can you check if you have any errors in the browser console (ctrl+shift+J or F12).
-BV
Juan Fernandez
Thu, 03/19/2020 - 11:46
Permalink
error in the browser console
Hi BV,
Thank you very much for replying to me.
I can see this code on the console, but I am not sure what it means:
h5p.js?ver=1.15.0:997 Uncaught ReferenceError: H5PIntegration is not defined
at Object.H5P.t (h5p.js?ver=1.15.0:997)
at HTMLDocument.<anonymous> (h5p.js?ver=1.15.0:2717)
at c (jquery.js?ver=1.15.0:2)
at Object.fireWith [as resolveWith] (jquery.js?ver=1.15.0:2)
at Function.ready (jquery.js?ver=1.15.0:2)
at HTMLDocument.H (jquery.js?ver=1.15.0:2)
H5P.t @ h5p.js?ver=1.15.0:997
(anonymous) @ h5p.js?ver=1.15.0:2717
c @ jquery.js?ver=1.15.0:2
fireWith @ jquery.js?ver=1.15.0:2
ready @ jquery.js?ver=1.15.0:2
H @ jquery.js?ver=1.15.0:2
Please, see also screenshot atttached.
It seems to me there is a problem, but not sure what how to go about it (sorry, I am not very techie).
Any suggestions would be greatly appreciated.
Kind regards,
Juan Fernández
BV52
Thu, 03/19/2020 - 17:39
Permalink
Hi Juan,You're using the
Hi Juan,
You're using the plugin "a3 Lazy Load". Its "Lazy Load Videos and iframes" setting influences the iframe that H5P is loaded in.
-BV
Juan Fernandez
Thu, 03/19/2020 - 21:00
Permalink
Hi BV,I am using a different
Hi BV,
I am using a different plugin to lazy load content in my blog (Smush), but following your instructions I changed its settings for iframes and now everything is working smoothly.
Thanks a lot for your help!
Juan
BV52
Thu, 03/19/2020 - 21:28
Permalink
Hi Juan,Glad to know it's
Hi Juan,
Glad to know it's working now.
-BV
hassanhamid93
Fri, 07/03/2020 - 14:10
Permalink
the same happen on my site
I use h5p pluging for wordpress. Classic editor (Buddyboss theme). If I add the shortcode on a post, the activity is visible on the preview mode, but as soon as I publish or update the post, the activity disappears. This problem doesn´t happen when using the embed code of the activity.
Any suggestions of what I can do to resolve the problem?
this error on my console
Uncaught SyntaxError: Unexpected identifier
h5p.js?ver=1.15.0:997 Uncaught ReferenceError: H5PIntegration is not defined
at Object.H5P.t (h5p.js?ver=1.15.0:997)
at HTMLDocument.<anonymous> (h5p.js?ver=1.15.0:2717)
at c (jquery.js?ver=1.15.0:2)
at Object.fireWith [as resolveWith] (jquery.js?ver=1.15.0:2)
at Function.ready (jquery.js?ver=1.15.0:2)
at HTMLDocument.H (jquery.js?ver=1.15.0:2)
crocodilemarketing
Mon, 07/27/2020 - 08:50
Permalink
I had the same problem using
I had the same problem using the Buddyboss theme.
I found that plugin Smush was causing the problem. I deactivated the plugin and it works now.
Something to do with the "lazy loading" setting.