Loading...
 
Skip to main content

Features / Usability


Tiki H5P: H5P editor upload returns 404 because action_library_upload is missing

Tiki H5P: H5P editor upload returns 404 because action_library_upload is missing

Environment:
- Windows 11
- WampServer
- PHP 8.3.18
- Tiki 27.x
- H5P support enabled
- Plugin H5P enabled
- Default H5P gallery set

Problem:
When using the H5P editor Upload tab, Firefox Network shows:
POST /tiki-ajax_services.php?controller=h5p&action=library_upload
Result: 404 Not Found

In:
lib/core/Services/H5P/Controller.php

there is no:
action_library_upload

Also, uploading .h5p files through File Galleries stores them as ordinary/plain text files and does not create playable H5P content. Only storage/public/h5p/libraries was populated.

Joseph Rézeau wrote:

Tiki H5P: H5P editor upload returns 404 because action_library_upload is missing

Environment:
- Windows 11
- WampServer
- PHP 8.3.18
- Tiki 27.x
- H5P support enabled
- Plugin H5P enabled
- Default H5P gallery set
Problem:
When using the H5P editor Upload tab, Firefox Network shows:
POST /tiki-ajax_services.php?controller=h5p&action=library_upload
Result: 404 Not Found

In:
lib/core/Services/H5P/Controller.php =

there is no:
action_library_upload

Also, uploading .h5p files through File Galleries stores them as ordinary/plain text files and does not create playable H5P content. Only storage/public/h5p/libraries was populated.

The service really meets everyone's needs. The updates and sharing about uploading .h5p files through File Galleries stores are valuable.

Marsha Bayer wrote:
The service really meets everyone's needs. The updates and sharing about uploading .h5p files through File Galleries stores are valuable.

Hi Marsha and thanks for your reply, which I do not understand. I maintain that the H5P plugin in Tiki is not fully implemented. My testss (on Tiki 27, Tiki 29 and Tiki 30) show that "uploading .h5p files through File Galleries stores them as ordinary/plain text files and does not create playable H5P content", which is a serious bug.
Joseph
PS It seems that there is very little traffic on the Tiki forums and bug tracker related to H5P. Is no-one using it? It it still being maintained?

Joseph Rézeau wrote:

Hi Marsha and thanks for your reply, which I do not understand. I maintain that the H5P plugin in Tiki is not fully implemented. My testss (on Tiki 27, Tiki 29 and Tiki 30) show that "uploading .h5p files through File Galleries stores them as ordinary/plain text files and does not create playable H5P content", which is a serious bug.
Joseph
PS It seems that there is very little traffic on the Tiki forums and bug tracker related to H5P. Is no-one using it? It it still being maintained?


Thank you for getting back to me.

Based on my testing on Tiki 27, 29, and 30, it looks that the H5P integration is not entirely functional. As far as I can determine, this occurs consistently across all three versions, indicating a true issue rather than a configuration issue.

Marsha Bayer wrote:

Thank you for getting back to me.

Based on my testing on Tiki 27, 29, and 30, it looks that the H5P integration is not entirely functional. As far as I can determine, this occurs consistently across all three versions, indicating a true issue rather than a configuration issue.

Thanks for your confirmation of my reported bug.
Is anyone actually maintaining the H5P plugin on Tiki?
I cannot fix bugs myself, but I am quite willing to conduct tests if asked to.
Joseph 'papi Jo'


Is anyone actually maintaining the H5P plugin on Tiki? Looks like nothing is happening...
Joseph Rézeau wrote:
Is anyone actually maintaining the H5P plugin on Tiki? Looks like nothing is happening...


Hi Joseph,
sorry, but it seems it is not on anyone's priority list currently. I can check the bugs reported on dev.tiki.org but I cannot promise a developer is going to fix anything H5P related soon as it seems there is a limited amount of people actually using it.

If you can find anyone willing to sponsor this please feel free to contact https://evoludata.com/en/Contact-UsQuestion or https://opensourcesolutions.pro/HomePageQuestion

luci

PS: seems I have already replied on your bug report in July 😉 -> https://dev.tiki.org/item9006-H5P-upload-create-does-not-work?highlight=H5P&threadId=12326&comzone=show#threadId12326Question

Thanks @Joseph Rézeau and @luci

Sadly the H5P integration is very fragile and they keep changing the library interface, which needs constant work here to keep up, and as @luci says, we don't have anyone actively on the case currently.

However, i'm, hoping to use some H5P elements in a project i'm working on soon, so will do some fixes when i can (although it's low priority for now).

Thanks!

Thanks for the reply Johnny! I will just be patient...