• antdx

    (@antdx)


    AR Scavenger, cannot use any glb.gltf.

    It keeps saying File type isn’t allowed after uploading a .glf or a .gltf for Action type: 3D model overlay.

    • This topic was modified 1 year ago by antdx.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author icc0rz

    (@icc0rz)

    Hi,
    We try keeping the support page on www.remarpro.com mainly for issues with the WordPress plugin as there are so few content type developers checking-in here (since H5P is not limited to WordPress).
    I recommend asking for help on h5p.org or the specific content issue queue instead as you are much more likely to run into someone that are able to help you there: https://github.com/otacke/h5p-ar-scavenger

    otacke

    (@otacke)

    I’ll answer here directly, as the issue is with the H5P plugin for WordPress, not with the content type.

    In order for gltf/glb files to be allowed, those file types need to be allowed in H5P core. That has been done in June 2021, but the H5P plugin for WordPress is being shipped with an outdated version of H5P core (having other issues, too). So, in order to make this work, either the H5P core team needs to release an updated version of the H5P WordPress plugin containing a more recent version of H5P core, or you’ll need to locate the file h5p.classes.php and add the file type extensions that you require (gltfand glb) here https://github.com/h5p/h5p-php-library/blob/ab0085de2e2400ffb5bf45ddfafe3c43ab1e3d35/h5p.classes.php#L2024

    Thread Starter antdx

    (@antdx)

    I wish it can work. It’s possibly the easiest way to get an AR to work without using Unity or Unreal for AR tracking.

    • This reply was modified 1 year ago by antdx.
    Plugin Author icc0rz

    (@icc0rz)

    It should be safe to add otacke’s suggestion to the code. It should be part of the next scheduled version of the plugin.

    Thread Starter antdx

    (@antdx)

    nice

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘AR Scavenger, cannot use any glb.gltf. It says File type isn’t allowed.’ is closed to new replies.