more versatile accordion

otacke's picture

This is an idea/wish from a session that was held at OERcamp17 in Hamburg, Germany on June 24.

Currently, H5P's accordion only allows to include text.

  • As a content creator, I want to be able to add more media (images, sounds, videos) to an accordion in order to be more flexible.
  • As a content creator, I want to be able to place a content type within an accordion panel in order to be even more flexible.

This feature has already been requested, cmp. https://h5p.org/node/75414.

Content types: 
3
0
Supporter votes Members of the Supporter Network can vote for feature requests. When the supporter network has generated sufficient funding for the top voted feature request it will normally be implemented and released. More about the H5P Supporter Network
tomaj's picture

Hi,

Thanks for the feedback. Good suggestions. :)

- Tom

On top of this, being able to have accordions within accordions would allow to present extra information more dynamically

BV52's picture

Hi Ioccoli,

Thank you for your input.

-BV52

Another vote for images or videos being able to be input into accordian. 

Only having text is too limiting!

otacke's picture

Hi!

Get it while it's hot! https://github.com/h5p/h5p-accordion/pull/41 The code is there, but the H5P core team currently does not have time to review it.

Cheers,
Oliver

Hi, I followed the instructions from here and downloaded from your repository here. Indeed I ended up with a local copy which I successfully processed with the h5p pack command. Then I uploaded the processed .h5p file to my h5p-libraries - but nothing showed up. I tried the same with your highlight-the-words-library, but this time with success. What did I miss with your h5p-accordion library?

Best
Michael

otacke's picture

Hi!

You probably did not switch to the correct branch (add-h5p-column) but built the master branch which is the same (or rather an old version of the original code).

Please also read the pull request's description at https://github.com/h5p/h5p-accordion/pull/41

And note that you're installing something that has not been reviewed before and may never find its way into the official version. You may create content with it that will most likely break if the H5P core team releases a 1.1 version that doesn't use my code.

Best,

Oliver 

Hi, I downloaded your repository from https://github.com/otacke/h5p-accordion with git clone and applied h5p pack upon it (following the instructions from https://peter.baumgartner.name/2021/04/12/h5p-library-installation/ ). This gave me an h5p file which I uploaded to the h5p library in my site. Alas, it did not show up in the library list. It could not be opened with LUMI either. What did I miss? 

Best
Michael

otacke's picture

Hi!

You probably missed to also build, pack and install the new editor dependency as described in the pull request description.

Best,

Oliver