Interactive Video - Add Interactions stopped working
Not sure what happened, I have updated the library but Step 2 to add interactions is not working anymore,
basically, h5p-editor-iframe is continuously growing the height attribute and showing only black content.
Since I already have created some interactive videos in my drupal platform, is there any way how I could reset h5p without losing them, to rebuild the library?
I have a feeling something is corrupted either in the database or the library.
FYI - I'm running h5p 7.x-1.34 in Opigno LMS (Ubuntu), my library:
Interactive Video (1.17.5) 0 0 1
Interactive Video (1.19.3) 5 5 1
Interactive Video Editor (1.17.4) 0 0 1
Interactive Video Editor (1.19.3)
Thu, 08/09/2018 - 04:45
Hi markusd1284,Any browser
Thu, 08/09/2018 - 10:41
sorry forgot to add them
loading Step 1:
Step 2: I'm getting a lot of
No PHP errors. Does this give any insight, please?
Need to solve it desperately to insert bookmarks :)
Thu, 08/09/2018 - 10:52
Any way to reinstall h5p + libraries in drupal?
Is it possible to reinstall h5p + libraries in Drupal and re-import existing h5p node references?
Having looked at the db's I'm not sure if it would be enough to backup and restore just the h5p_nodes?
Tue, 08/14/2018 - 10:28
@BV52 any advise you can
@BV52 any advise you can share re console errors or regarding a re-install, please?
Tue, 08/14/2018 - 11:35
Hi markusd1984,I've sent your
I've sent your case to the core team for additional assistance. They will get back to you as soon as possible.
Fri, 08/17/2018 - 07:37
Hi,I'm having exactly the
I'm having exactly the same problems with Moodle. Everything was fine until I updated the Interactive Video option on 16/08/18.
I'm not getting any console or PHP errors either.
Please could you advise as to what steps to take next?
Fri, 08/17/2018 - 07:59
RE: Previous comment
Reinstalling the H5P plugin did seem to work but obviously, in doing so we lost our resources. Fortunately, there weren't many.
Fri, 08/17/2018 - 10:19
Hopefully, the h5p can shed some light on this soon?
I have quite a few ones and hoping for a re-install to restore them in the database, which I think should be possible if we get some clarification on the tables, please?
I have a server backup and can try it out to roll back, just needs some advice on the restoring or if there is another way to possibly fix this.
Tue, 08/21/2018 - 12:50
Hi Markus,Could you try to
Could you try to upgrade to version 7.x-1.35 of the H5P module, and let us know if you still see the same problem
Wed, 08/22/2018 - 10:14
I've updated it but unfortunatelly the issue is still there.
I would like to do a server backup and fresh reinstall of h5p, just need advice re tables to keep references to existeing h5p content please :)
Wed, 08/22/2018 - 15:37
I reinstalled h5p and can confirm this will work, however I'm loosing all my content which I really need to keep.
I suspect there is an issue in the database entries causing this, best would be for me to try and re-import only the tables from my backup that are neccessary for the h5p node references, can you please advise which ones??
Wed, 08/29/2018 - 10:54
Hi,To be clear: After you
To be clear: After you reinstalled, how do you know the issue is fixed? I.e: have you tested with the same H5P?
Is it possible for you to download & share the H5P file with me ([email protected])?
In the database there are several different tables relevant for H5P (content - libraries - language etc). I have never tested restoring only H5P from a backup, so I'm not sure how much I can help. I would try all the tables prefixed with "h5p_", and you would have to reinstall the H5P libraries manually (since the database says they are installed).
Wed, 08/29/2018 - 11:19
I tested it by simyply
I tested it by simyply uploading a new videos and accessing step 2 to insert interactive content ie. bookmarks which worked.
I also tested the existing module which I managed to restore, unfortunataelly I can't share that content.
FYI - restoring all tables didn't work after the re-install as it containt the issue, I think to remember I only restored the h5p_nodes, h5p_libraries (and possibly h5p_points / h5p_content_user_data).
Would be good though fo future references to get some clarity on which tables to keep for just the h5p nodes references and any user data vs which ones are only relating to the h5p install (that can / must be ignored for a re-install).
Fri, 09/07/2018 - 11:45
Tbh. the issue happens with any h5p interactive video I create, after upload step two won't load properly preventing me to create interactive content.
Any idea how I / we could debug this better to figure out what is going wrong and possibly what caused it?
Appreciate your help.
Tue, 09/18/2018 - 17:32
Something is causing a continously resizing of iframe window
Discover in IE console that something is causing a continously resizing of the iframe.
Can anybody help debug the issue with me please?
Wed, 09/19/2018 - 09:24
Hi Markus!Could you maybe
Could you maybe give a little more context? Otherwise it's hard to guess more than that resize() may trigger the mutation observer but take more time than 40ms, so it will be triggered again and again.
Wed, 09/19/2018 - 11:38
Context to what exactly?
All i have done is added a few interactive video lessons in drupal which worked incl. interactive elements ie. bookmarks and then suddenly when I want to create another one or edit an existing one, I can't use step 2 for adding interactions anymore, as the frame resizes continuously and becomes in-accessible.
I suspect that either something in the database or the h5p module get's corrupted that might cause this, but how to check further?
Stepping through the console somehow? I'm happy to share more debugging or do a screenshare.
In FF console I get "unreachable code after return statement h5p.js:260:10" before even clicking into step 2.
Wed, 09/19/2018 - 12:03
Hi Markus!Context to where
Context to where the mutation observer code you posted before was taken from for example. We don't know every line by heart ;-) Also, I can't see an unconditional return statement before the line of code that you posted - there's a return statement, but the code is reached if you're not in fullscreen.
It's really hard to diagnose this without having access to your machine. Is there a way that you could send us a link and credentials to your drupal system so we could have a look?
Wed, 09/19/2018 - 12:33
Thanks Oliver for your help. My drupal is local only but I could set up remote session.
I understand of course you won't know the code by heart. I usually do a quick search to locate it ;)
The previous code highlighted from IE Console is in a temp js so not sure that's of much help:
but i can see this is created from /sites/all/modules/h5p/modules/h5peditor/h5peditor/scripts/h5peditor-editor.js
Wed, 09/19/2018 - 13:01
If you can save us time, that
If you can save us time, that's really appreciated. Effort piles up quite a bit given all the questions we receive.
If it was some new part of code that you're referencing, chances might be there's something wrong in there, but it really is not. So without being able to have a look at the stacktrace, the variables states, etc. it's really hard to say what might be causing the problem -- especially if it worked first.
So, if you could set up some dynDNS or something, that'd be great.
Wed, 09/19/2018 - 14:07
great and thank you, sent you
great and thank you, sent you a message on linkedin to follow up.
Or let me know if you want to use different means for PM. Can speak german as well :)
Thu, 09/20/2018 - 09:04
I have not received anything
I have not received anything so far :-/
Thu, 09/20/2018 - 10:17
I have sent you a connection
I have sent you a connection request with a note as I can't send you direct PM's, please check, thanks.