Unable to find constructor for: H5P.AudioRecorder 1.0

Created on 3 September 2020, almost 5 years ago
Updated 6 August 2025, 6 days ago

Hi All,
H5p is running smoothly on my drupal 8 website but I am having an issue with audio recorder Activity. I get the blank page when i try to see the activity from the front end. When i disable the Javascript aggregate option it seems to work but it increases the load time of website.
Here is the error in the console:

js_GgoMhXHp_HtU61_aX75dgLvNzf49Mj7-V8pUTsFAqeo.js:997 Unable to find constructor for: H5P.AudioRecorder 1.0
H5P.error @ js_GgoMhXHp_HtU61_aX75dgLvNzf49Mj7-V8pUTsFAqeo.js:997
js_GgoMhXHp_HtU61_aX75dgLvNzf49Mj7-V8pUTsFAqeo.js:1136 Uncaught TypeError: Cannot read property 'getCopyrights' of undefined
    at Object.H5P.getCopyrights (js_GgoMhXHp_HtU61_aX75dgLvNzf49Mj7-V8pUTsFAqeo.js:1136)
    at HTMLDivElement.<anonymous> (js_GgoMhXHp_HtU61_aX75dgLvNzf49Mj7-V8pUTsFAqeo.js:195)
    at Function.each (js_GgoMhXHp_HtU61_aX75dgLvNzf49Mj7-V8pUTsFAqeo.js:2)
    at init.each (js_GgoMhXHp_HtU61_aX75dgLvNzf49Mj7-V8pUTsFAqeo.js:2)
    at Object.H5P.init (js_GgoMhXHp_HtU61_aX75dgLvNzf49Mj7-V8pUTsFAqeo.js:114)
    at HTMLDocument.<anonymous> (js_GgoMhXHp_HtU61_aX75dgLvNzf49Mj7-V8pUTsFAqeo.js:2842)
    at c (js_GgoMhXHp_HtU61_aX75dgLvNzf49Mj7-V8pUTsFAqeo.js:2)
    at Object.fireWith [as resolveWith] (js_GgoMhXHp_HtU61_aX75dgLvNzf49Mj7-V8pUTsFAqeo.js:2)
    at Function.ready (js_GgoMhXHp_HtU61_aX75dgLvNzf49Mj7-V8pUTsFAqeo.js:2)
    at HTMLDocument.H (js_GgoMhXHp_HtU61_aX75dgLvNzf49Mj7-V8pUTsFAqeo.js:2)
πŸ› Bug report
Status

Postponed: needs info

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024