Add 'Find Multiple Hotspots' to the AR Scavenger Interaction list
I would like to use the 'Find Multiple Hotspots' as one of the possible interactions when creating AR Scavenger content.
I tried to add it by adding "H5P.ImageMultipleHotspotQuestion-1.0", to the AR Scavenger 1.4 semantics.json interaction list in:
"fields": [
{
"name": "interaction",
"label": "Interaction",
"type": "library",
"options": [
but it didn't work out, and the 'Find Multiple Hotspots' content type is still unavailable in the Interactions list.
How to do it? Or is it a new feature?
Will appreciate any help or advice.
otacke
Sun, 01/26/2025 - 10:11
Permalink
The approach is correct, but
The approach is correct, but you did not succeed because H5P does not use the semantics.json file once the content type has been installed. H5P generates a couple of database entries based on what it finds in the H5P file and uses those. Options are:
Note though that for 1 and 2 there must not be a later version of AR Scavenger installed (1.6 is the latest). Otherwise, H5P will use that. Also note that any later official version of AR Scavenger that you install will override your changes. That's why 3 is the better approach despite obvious other downsides.
Please be very careful with what you do here. I'd not like to see the H5P community suffer because people tamper with H5P libraries without understanding consequences (see https://www.olivertacke.de/labs/2024/05/02/a-short-voluntary-h5p-fire-department-story-line).
Please also note that there is a reason why Find Multiple Hotspots is not found as a subcontent anywhere (see https://snordian.de/2023/11/16/why-isnt-h5p-content-type-x-available-as-a-subcontent-option-in-content-type-y/)
JoannaFi
Sun, 01/26/2025 - 19:57
Permalink
Thank you for the
Thank you for the clarification. I plan to try option 3 and would like to use the newest version, AR Scavenger 1.6, as the base. How can I install it on WordPress? The Hub still shows version 1.4 as the latest available.
otacke
Mon, 01/27/2025 - 00:00
Permalink
There are plenty of outdated
There are plenty of outdated versions served on the H5P Hub, unfortunately, and others have been waiting in line for ages - you can grab mine from https://www.olivertacke.de/labs/h5p-content-types/
Alternatively, you can grab the source code from github (https://github.com/otacke)
JoannaFi
Tue, 01/28/2025 - 02:08
Permalink
Thank you for givinig acces
Thank you for givinig acces to the IN-REVIEW content types on your webpage, it is tremendously helpful.
It seems that for the AR Scavenger the package which is available under the link is still the old version, though.
otacke
Tue, 01/28/2025 - 11:45
Permalink
No, just checked. https://www
No, just checked. https://www.olivertacke.de/labs/2020/08/02/arrrrrr-ar/ serves version 1.6. Please note that https://h5p.org/content-types/ar-scavenger is H5P Group's page which is fed by the H5P Hub.
JoannaFi
Tue, 01/28/2025 - 19:20
Permalink
Yes! Thank you very much. I
Yes! Thank you very much. I appreciate your work a lot.
JoannaFi
Sun, 01/26/2025 - 19:59
Permalink
Thank you!
Thank you for the clarification. I plan to try option 3 and would like to use the newest version, AR Scavenger 1.6, as the base. How can I install it on WordPress? The Hub still shows version 1.4 as the latest available.