Issues with Interactive Videos and Find the Hotspot after upgrade

We are in the process of upgrading our H5P from vs 1.19.1 to 1.21.0

We are using Totara Learn version 12.23

In our current version everything works well with our H5P activities.  I am now testing  them in vs 1.21.0 and am encountering issues regardless of browser; an am using a laptop.

My interactive videos have the message: "Cannot read file. Either the file does not exist or there is a permission problem"(image attached) above them, but they do work.

In my hotspot activities - the correct spot is not recognised when I click on it, and I get the below screen. I have also attached one of the activities.

hotspot error

 

Any help is appreciated.

Thanks

Caroline

 

otacke's picture

Hi Caroline!

I don't think that H5P is sending out that error message. You could try to open the developer tools (usually by pressing F12), locate the network tab and check it for files that could not be loaded (probably with a status of 4xx). That would help the H5P community here and your site admin who should check this.

The second issue is a problem with the Totara site's stylesheet interfering with the stylesheet of the content type (for some reason the H5P core team seems to have decided to not let this one run in an iframe protecting if against such problems). @BV: Could you please ask the core team why Find the Hotspot (and e.g. Chart) don't run in iframe and whether that was a deliberate choice or could be changed? It'd be a one-line change.

Best,
Oliver

BV52's picture

Hi Oliver,

I've sent your question to the core team.

-BV

BV52's picture

Hi Oliver,

This was a deliberate choice. There are several disadvantages with running in iframes so less sensitive content types especially in the beginning were made to not run in an iframe despite the potential for css conflicts.

-BV

otacke's picture

Hi BV!

Thanks for the update! Then this will remain this way.

Best,
Oliver