H5P activities isn't showing up after migration
Submitted by ArnoldasG on Mon, 05/10/2021 - 14:04
Hello,
After migration to dedicated Linux server Moodle activities, which were made with H5P isn't showing up anymore.
Moodle version originally was 3.10.1 , now its updated to 3.10.4
H5P was 1.22.0 , updated to 1.22.2
web console shows this :
yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:5828 moodle-core-event: Global event published: FORM_ERROR
yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:5828 moodle-core-event: Global event published: BLOCK_CONTENT_UPDATED
6f1283c553bb0dc293c7df6df6047ea2ec36d361.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
6f1283c553bb0dc293c7df6df6047ea2ec36d361.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
h5p.js?ver=2021043000:979 Unable to find constructor for: H5P.InteractiveVideo 1.22
H5P.error @ h5p.js?ver=2021043000:979
jquery.js?ver=2021043000:2 jQuery.Deferred exception: Cannot read property 'on' of undefined TypeError: Cannot read property 'on' of undefined
at Object.H5P.on ( /mod/hvp/library/js/h5p.js?ver=2021043000:2258:16)
at HTMLDivElement.<anonymous> ( /mod/hvp/library/js/h5p.js?ver=2021043000:213:9)
at Function.each ( /mod/hvp/library/js/jquery.js?ver=2021043000:2:2976)
at S.fn.init.each ( /mod/hvp/library/js/jquery.js?ver=2021043000:2:1454)
at Object.H5P.init ( /mod/hvp/library/js/h5p.js?ver=2021043000:93:60)
at HTMLDocument.<anonymous> ( /mod/hvp/library/js/h5p.js?ver=2021043000:2824:11)
at e ( /mod/hvp/library/js/jquery.js?ver=2021043000:2:30005)
at t ( /mod/hvp/library/js/jquery.js?ver=2021043000:2:30307) undefined
S.Deferred.exceptionHook @ jquery.js?ver=2021043000:2
jquery.js?ver=2021043000:2 Uncaught TypeError: Cannot read property 'on' of undefined
at Object.H5P.on (h5p.js?ver=2021043000:2258)
at HTMLDivElement.<anonymous> (h5p.js?ver=2021043000:213)
at Function.each (jquery.js?ver=2021043000:2)
at S.fn.init.each (jquery.js?ver=2021043000:2)
at Object.H5P.init (h5p.js?ver=2021043000:93)
at HTMLDocument.<anonymous> (h5p.js?ver=2021043000:2824)
at e (jquery.js?ver=2021043000:2)
at t (jquery.js?ver=2021043000:2)
When i try to upload video - this shows up

ArnoldasG
Thu, 05/13/2021 - 08:25
Permalink
Well, i found the problem,
Well, i found the problem, not all files were uploaded in moodledata/filedir,
but it gave me another one - cannot add interactions .
Uploaded mp4 video and in step 2 it shows : Video format not supported.