Drupal H5P and JS aggregation produces errors

Hi everyone,

I'm seeing errors in my browser JavaScript console when viewing H5P content in a Drupal site. The browser is looking for ../css/timeline.css and ../js/timeline-min.js and is incorrectly using the current url as the base url. When I switch off the JS aggregation in Drupal, the errors are gone.

I'm seeing similar errors when I view https://h5p.org/timeline and https://h5p.org/image-hotspots - which makes sense, as this appears to be a Drupal site with JS aggregation switched on.

Does anyone have an idea how to fix this?

Cheers! :)

 

falcon's picture

Thank you for the update. Fix has been scheduled for June. I was only able to reproduce this for Timeline, not image hotspot, all tough some other file