Moodle will not accept .glb files
Submitted by ptstockley on Tue, 03/29/2022 - 14:04
Forums:
- Tried to upload the ScavengerAR example from h5p.org to my own moodle and I receive the error mesage below.
- Moodle 3.9.13.
- Desktop
- Browser: Chrome
- H5P plugin version
- AR Scavenger (beta) (1.2.9)
- "Validating h5p package failed. File "content/files/file-621530699d69d.glb" not allowed. Only files with the following extensions are allowed: json png jpg jpeg gif bmp tif tiff svg eot ttf woff woff2 otf webm mp4 ogg mp3 m4a wav txt pdf rtf doc docx xls xlsx ppt pptx odt ods odp xml csv diff patch swf md textile vtt webvtt."
I have added .glb and .gltf to the list of filetypes in Moodle (/admin/tool/filetypes/index.php) but still receive the error message.
Any assistance how to make the ScavengerAR tool available would be awesome. Thank you!
H5P file:
otacke
Tue, 03/29/2022 - 21:12
Permalink
https://h5p.org/comment/45030
https://h5p.org/comment/45030#comment-45030
lizzie
Mon, 04/04/2022 - 14:17
Permalink
Moodle solution?
Hello!
I am getting the same issue on Moodle, with both glb and gltf files.
The solution linked to above is for Wordpress, does anyone have any advice how to fix this for Moodle please? Thanks!
otacke
Mon, 04/04/2022 - 22:29
Permalink
Hi lizzie!The procedure is
Hi lizzie!
The procedure is the same:
Best,
Oliver
ptstockley
Mon, 04/11/2022 - 11:27
Permalink
Hi Oliver and LizzieOur
Hi Oliver and Lizzie
Our Moodle-hosting company tells me that changing the code directly isn't recommended and will cost us a service fee of several hundred euros.
Could these changes to to these .php files be included in a future h5p moodle-plugin update instead of requiring manual php file updates?
otacke
Mon, 04/11/2022 - 17:35
Permalink
Hi!They already are in the
Hi!
They already are in the latest version of H5P core, but the H5P core team will need to release an update of the plugin. That's out of my control.
Best,
Oliver
ptstockley
Tue, 04/12/2022 - 11:06
Permalink
Understood. Thank you so much
Understood. Thank you so much for your support.
ptstockley
Fri, 04/08/2022 - 10:59
Permalink
Will try asap
Thank you Oliver, I will try this and respond. :)