Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interactive videos can't be used by default in a fresh Drupal installation as Interactive book pages #155

Open
jacarvajal opened this issue Jul 17, 2024 · 6 comments

Comments

@jacarvajal
Copy link

Is there a way to use interactive videos as pages of Interactive books?
I've been checking everything and couldn't find a way.
I read in the description of the Interactive book library that they could be used (see attachment).

imagen

@otacke
Copy link

otacke commented Jul 17, 2024

@jacarvajal This should have been possible since day 1.
Screenshot from 2024-07-17 13-23-20

@jacarvajal
Copy link
Author

Hum, maybe I'm missing something then. I'm trying to make this work in an Opigno site (Drupal LMS distribution).
Just for testing, I did these steps:

  • Installed a fresh D10 site
  • Installed H5P + H5P editor modules
  • Added a H5P field in Basic page content type
  • Configured its form mode to use H5P Editor
  • When creating a new basic page, installed the Interactive Book library from the H5P editor
  • Checked, but I can't see Interactive Video as an option to be installed from the H5P editor
  • Try to create an Interactive book, and the options I have are these ones:
    • Fill in the blanks
    • Drag & Drop
    • Drag the words
    • Table
    • Text
    • Image
    • Image hotspots
    • Multiple choice
    • Single choice set
    • Video

@jacarvajal jacarvajal changed the title Feature request - Interactive videos to be used in Interactive books Interactive videos can't be used by default in a fresh Drupal installation as Interactive book pages Jul 17, 2024
@otacke
Copy link

otacke commented Jul 17, 2024

When you say "installed the Interactive Book library from the H5P editor", did you install it via the "Get" button or by uploading some content?

Given the list of content types that you see, I'd assume you uploaded the demo content from https://h5p.org/content-types/interactive-book which only ships the libraries that are needed in the content. Just install "Column" by using the "Get" button, and that should install all the missing content type libraries that Interactive Book would need.

@jacarvajal
Copy link
Author

First of all, thanks for your help @otacke !

I installed them using the "Get" button. In fact, just for testing, I installed (via "Get" button) every library, but Interactive Video just was not there.

@jacarvajal
Copy link
Author

One more thing, I just checked the requests on the node add page, and I realised that the list of the libraries is loaded from /h5peditor/dc1f1755bc6e3/0/content-type-cache, and that URL returns the Interactive Video in the output, despite is not being listed as an option in the add/edit interface.

@otacke
Copy link

otacke commented Jul 17, 2024

The content type cache is the list of available libraries for download on the H5P Hub. It's updated in regular intervals, so you can be notified about updates, for instance.

H5P content types don't make list of that list. They will only use what is already installed on the platform.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants