Moodle will not accept .glb files
Submitted by ptstockley on Tue, 03/29/2022 - 14:04
- Tried to upload the ScavengerAR example from h5p.org to my own moodle and I receive the error mesage below.
- Moodle 3.9.13.
- 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!
Tue, 03/29/2022 - 21:12
Mon, 04/04/2022 - 14:17
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!
Mon, 04/04/2022 - 22:29
Hi lizzie!The procedure is
The procedure is the same:
Mon, 04/11/2022 - 11:27
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?
Mon, 04/11/2022 - 17:35
Hi!They already are in the
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.
Tue, 04/12/2022 - 11:06
Understood. Thank you so much
Understood. Thank you so much for your support.
Fri, 04/08/2022 - 10:59
Will try asap
Thank you Oliver, I will try this and respond. :)