Hello!
We have Moodle 4.5.2 (Build: 20250210) running with the mod_hvp (Interactive Content) plugin. When creating a simple "Drag the words" activity, it does not show up in the browser. Instead, we get the following output in the console:
h5p.js?ver=2024120900:989 Unable to find constructor for: H5P.DragText 1.10 H5P.error @ h5p.js?ver=2024120900:989 H5P.newRunnable @ h5p.js?ver=2024120900:908 (anonymous) @ h5p.js?ver=2024120900:137 each @ jquery.js?ver=2024120900:2 each @ jquery.js?ver=2024120900:2 H5P.init @ h5p.js?ver=2024120900:93 (anonymous) @ h5p.js?ver=2024120900:2879 e @ jquery.js?ver=2024120900:2 t @ jquery.js?ver=2024120900:2 setTimeout (anonymous) @ jquery.js?ver=2024120900:2 c @ jquery.js?ver=2024120900:2 fireWith @ jquery.js?ver=2024120900:2 fire @ jquery.js?ver=2024120900:2 c @ jquery.js?ver=2024120900:2 fireWith @ jquery.js?ver=2024120900:2 ready @ jquery.js?ver=2024120900:2 B @ jquery.js?ver=2024120900:2
jquery.js?ver=2024120900:2 jQuery.Deferred exception: Cannot read properties of undefined (reading 'getCopyrights') TypeError: Cannot read properties of undefined (reading 'getCopyrights')
at H5P.getCopyrights (/mod/hvp/library/js/h5p.js?ver=2024120900:1139:16)
at HTMLDivElement. (/mod/hvp/library/js/h5p.js?ver=2024120900:174:30)
at S.each (/mod/hvp/library/js/jquery.js?ver=2024120900:2:2976)
at S.fn.init.each (/mod/hvp/library/js/jquery.js?ver=2024120900:2:1454)
at H5P.init (/mod/hvp/library/js/h5p.js?ver=2024120900:93:60)
at HTMLDocument. (/mod/hvp/library/js/h5p.js?ver=2024120900:2879:11)
at e (/mod/hvp/library/js/jquery.js?ver=2024120900:2:30005)
at t (/mod/hvp/library/js/jquery.js?ver=2024120900:2:30307) undefined
Does anyone have an idea why this is happening and how to resolve it? Drag the Words is already updated to the current release (1.10.17).
Thanks in advance & best regards