Divi, Divi Builder, and H5P
Submitted by blechinger on Wed, 07/12/2017 - 17:12
Hey! I'm just getting acquainted with H5P. I'm considering loading the plugin on one of my wordpress sites and playing around with it. I searched around and found this thread: https://h5p.org/node/36001 from about a year and a half ago.
I'm wondering if any progress has been made in getting Divi Builder and H5P to play nice together? If so: is there any documentation I missed? If not: how can I try to help? :)
Thanks!
tomaj
Thu, 07/13/2017 - 08:07
Permalink
Not handled yet
Hi,
I don't think this has been addressed yet.
If you want to try to hack a bit on it, I think that would be awesome. I think the problem is the timing on when H5P.init() is called (in JavaScript). It's called when the page is loaded, but Divi (and other asynchronous loading techniques) will populate the page with content, and then H5P.init() needs to be called on that content.
You can see the h5p core code on Github.
- Tom
blechinger
Fri, 07/14/2017 - 21:13
Permalink
</3
Hey Tom! Thanks for the reply.
That makes sense. At least it's possible that the heart of the issue has been identified! I'll take a gander when I've got some free time. Thanks again!