Migration of H5P data

Hello,

I migrate a wordpress with H5P content, I've follow the wordpress customisation guide and the update libraries guide. But I canno't see my H5P data in post and in the admin panel. The error is below : 

 

summary.js?ver=1.7.0:134 Uncaught TypeError: Cannot read property 'prototype' of undefined

    at summary.js?ver=1.7.0:134

    at summary.js?ver=1.7.0:730

(anonymous) @ summary.js?ver=1.7.0:134

(anonymous) @ summary.js?ver=1.7.0:730

interactive-video.js?ver=1.15.0:104 Uncaught TypeError: Cannot read property 'ENDED' of undefined

    at new InteractiveVideo (interactive-video.js?ver=1.15.0:104)

    at Object.H5P.newRunnable (h5p.js?ver=1.8.4:793)

    at HTMLDivElement.<anonymous> (h5p.js?ver=1.8.4:132)

    at Function.each (jquery.js?ver=1.8.4:2)

    at init.each (jquery.js?ver=1.8.4:2)

    at Object.H5P.init (h5p.js?ver=1.8.4:92)

    at HTMLDocument.<anonymous> (h5p.js?ver=1.8.4:2129)

    at c (jquery.js?ver=1.8.4:2)

    at Object.fireWith [as resolveWith] (jquery.js?ver=1.8.4:2)

    at Function.ready (jquery.js?ver=1.8.4:2)

Is there a process to migrate with succeed all my H5P data ? What does mean this error ? Thank you

thomasmars's picture

Hi,
It looks like some of your libraries are not properly installed (H5P.Question, H5P.Video). Make sure to upload them properly through the library administration page or through uploading working examples of the content types you are attempting to use.

I've tried to reinstll plug in and library and when I upload an example of H5P https://h5p.org/memory-game data i get this error : Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'. Thank you for your help. By the way is there any tutorial for export and import (migrate) H5P data ? 

Regards

TV

I've try to reinstall plug in and all libraries. When I upload some content as https://h5p.org/memory-game I get theis error : 

Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'.

Is there a tutorial for migrate H5P data ?

regards

TV

 

I've tried to reinstll plug in and library and when I upload an example of H5P https://h5p.org/memory-game data i get this error : Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'. Thank you for your help. By the way is there any tutorial for export and import (migrate) H5P data ? 

Regards

TV

thomasmars's picture

I'm not able to reproduce this when uploading the main memory game example, could you have some conflicting themes, modules or modifications ?
Please look for any errors in your server log, and the complete error for where that JavaSript is crashing.
I'm not aware of any tutorials for exporting and importing H5P data in Wordpress.