h5p-image-hotspots audio autoplay only works for some according to container width

Submitted by testest2 on Mon, 10/27/2025 - 15:44
Forums:

Hello,

I have a problem with h5p-image-hotspots containing audio content (autoplay on) where if I visit the url inside embed h5p, the auto-play feature only works for the bottom half; and it seems to be relative to the screen width, when it touches a width it likes, it will autoplay the audio.

See: https://youtu.be/jcQ1nAb8UjA

When embedded, it's working fine. But I have some business needs for users to access content directly to the provided h5p embed url; if there are other ways, do let me know how.

Thanks

BV52

Wed, 10/29/2025 - 17:00

Permalink

Hi testest2,Do you have a

Hi testest2,

Do you have a sample content or page where we can test this issue?

-BV

testest2

Thu, 10/30/2025 - 04:23

Permalink

Hello BV52,Here's a link

Hello BV52,

Here's a link:

Pasar Halaman 5

testest2

Thu, 10/30/2025 - 04:22

Permalink

Hello BV52,Here's a link

Hello BV52,

Here's a link:

Pasar Halaman 5

otacke

Sun, 11/02/2025 - 00:28

Permalink

Hi!This is a problem in H5P

Hi!

This is a problem in H5P.Audio that only surfaces in your edge use case that H5P was not meant to be used in. However, the fix would be simple. I created a ticket for H5P Group (HFP-4304), and I also created a pull request with the one-line change needed.

The rest is in H5P Group's hands ...

Best,
Oliver

testest2

Wed, 11/05/2025 - 07:59

Permalink

Hello,Thank you for the fix

Hello,

Thank you for the fix Oliver, let us hope H5P group will approve it quickly.