Integrating different kind of features into course presentation.
Submitted by jmalteschuldt on Mon, 03/30/2020 - 15:40
Forums:
Hi everyone,
I wanted to ask if someone managed to integrate features like memory game or find the word into course presentation. Would it be possible by just adding a link? Kind regards Malte
otacke
Mon, 03/30/2020 - 20:21
Permalink
Hi Malte!It's actually quite
Hi Malte!
It's actually quite simple (for a coder) to add more content types to compound content types such as Course Presentation in H5P, but please don't expect a step-by-step guide.
Best,
Oliver
BV52
Mon, 03/30/2020 - 20:22
Permalink
Hi Malte,Adding link will not
Hi Malte,
Adding link will not insert those content types inside Course Presentation. There needs to be changes/additions to the code for this to work.
-BV
jmalteschuldt
Mon, 03/30/2020 - 23:11
Permalink
Ahh okay, thank you guys. I
Ahh okay, thank you guys. I see - I am not expecting some "step by step guide", but would it possible for you to guide where to start? Can I change the code on h5p.com?
BV52
Mon, 03/30/2020 - 23:47
Permalink
Hi Malte,These documentation
Hi Malte,
These documentation is a good place to start. I'm afraid not although once changes are made and the PR is accepted by the core team eventually it may make its way to H5P.com.
-BV
otacke
Tue, 03/31/2020 - 00:55
Permalink
Hi!BV pointed you to the dev
Hi!
BV pointed you to the dev docs. You'd have to modify semantics (one-liner) of CoursePresentation and add a custom button to the editor. Ideally, you should do that using H5P's hooks, so your customization won't be overwritten by updates to the content type. Note, however, that other users may have trouble to use your content when it relies on the hooks heavily.
Best,
Oliver
jmalteschuldt
Fri, 04/24/2020 - 13:00
Permalink
update
Any plans in H5p to integrate the other features into course presentation?
kind regards
Malte
BV52
Fri, 04/24/2020 - 18:47
Permalink
Hi Malte,Oliver actually
Hi Malte,
Oliver actually started something here. The plan is to first fill out the list of content types that can be inserted into complex content types such as Course Presentation and then get feedback from the core team if they will accept adding the content types or not (some content types have features that may cause issues when combined with other content types). This needs to be done so that community members who plans to create these types of integration have a guide.
-BV