Whitelist H5P Hub content types in WordPress

Forums: 

Hi 

We need to restrict the list of available content types that are listed from H5P hub.

I have searched the Forum and have found some information on adding custom css https://github.com/h5p/h5pmods-wordpress-plugin but this would not affect the iframe that list the content types.

Is there a hook/function that can be used to edit the list returned? 

If anyone has any information/resources that would allow me to control the Hub list I would be grateful.

Thank you

 

BV52's picture

Hi Christine,

You don't need CSS for this, I actually doubt that it is even possible to do this. However it is possible to disble access to content types by going to H5P Contents -> Libraries then place check on "restricted" for the content types that you would like to be disabled.

-BV

Attachments: 

Thanks for your response, unfortunatly this manual method is not suitable as we look after around 180,000 blogs on a multisite.

Also I understood that the content type needs to be downloaded to restrict it? Unfortunately we cannot download it on the blogs to then restrict it, that would take up a huge amount of storage and the cost prohibitive. 

We have an issue with Interactive video when downloaded on a Mac, when trying to add/use Interactive Video the admin page needs to be refreshed for the Interactive Video javascript files to be available, the files are in the download directory. I have been searching for a way to ensure the Interactive video javascript files are available without refrshing but not found a solution. Hence the request to not have Interactive Video avaialble to be selected from the H5P hub.

If you have heard of this issue or have an alternative solution I would be grateful if you could advise.

Regards

Christine