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)
BV52
Thu, 08/09/2018 - 04:45
Permalink
Hi markusd1284,Any browser
Hi markusd1284,
-BV52
markusd1984
Thu, 08/09/2018 - 10:41
Permalink
[Violation] Forced reflow while executing JavaScript took <N>ms
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 :)
markusd1984
Thu, 08/09/2018 - 10:52
Permalink
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?
markusd1984
Tue, 08/14/2018 - 10:28
Permalink
@BV52 any advise you can
@BV52 any advise you can share re console errors or regarding a re-install, please?
BV52
Tue, 08/14/2018 - 11:35
Permalink
Hi markusd1984,I've sent your
Hi markusd1984,
I've sent your case to the core team for additional assistance. They will get back to you as soon as possible.
-BV52
achadwick
Fri, 08/17/2018 - 07:37
Permalink
Hi,I'm having exactly the
Hi,
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?
Thanks
Alan
achadwick
Fri, 08/17/2018 - 07:59
Permalink
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.
markusd1984
Fri, 08/17/2018 - 10:19
Permalink
database backup?
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.
fnoks
Tue, 08/21/2018 - 12:50
Permalink
Hi Markus,Could you try to
Hi Markus,
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
markusd1984
Wed, 08/22/2018 - 10:14
Permalink
unresolved
Thanks fnoks,
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 :)
markusd1984
Wed, 08/22/2018 - 15:37
Permalink
reinstalled h5p
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??
fnoks
Wed, 08/29/2018 - 10:54
Permalink
Hi,To be clear: After you
Hi,
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).
markusd1984
Wed, 08/29/2018 - 11:19
Permalink
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).
markusd1984
Fri, 09/07/2018 - 11:45
Permalink
Broken again!
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.
markusd1984
Tue, 09/18/2018 - 17:32
Permalink
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?
otacke
Wed, 09/19/2018 - 09:24
Permalink
Hi Markus!Could you maybe
Hi Markus!
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.
Best,
Oliver
markusd1984
Wed, 09/19/2018 - 11:38
Permalink
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.
otacke
Wed, 09/19/2018 - 12:03
Permalink
Hi Markus!Context to where
Hi Markus!
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?
Best,
Oliver
markusd1984
Wed, 09/19/2018 - 12:33
Permalink
h5peditor-editor.js
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:
/sites/default/files//js/js_LN9rAD98A0GHB0yt3M5omI8zUEIm6Q0jKh7hnEn8yoQ.js
but i can see this is created from /sites/all/modules/h5p/modules/h5peditor/h5peditor/scripts/h5peditor-editor.js
otacke
Wed, 09/19/2018 - 13:01
Permalink
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.
markusd1984
Wed, 09/19/2018 - 14:07
Permalink
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 :)
otacke
Thu, 09/20/2018 - 09:04
Permalink
I have not received anything
I have not received anything so far :-/
markusd1984
Thu, 09/20/2018 - 10:17
Permalink
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.