Skipping quiz
Hello,
I use H5P in my WPLMS themed website. They created the option to embed the quizzes and use the scores on their certificates. Really cool! Normally I can skip a quiz by clicking VOLGENDE (that means NEXT in Dutch). I have no issues. Expect when I click next in two specific H5P quiz types: h5p-speak-the-words-set or h5p-dictation. THis happens for both me as admin or as member/student. It doesn't happen when I have don the quizzes and want to skip them a next time just to go through them. This is the report when I click F12/inspect and go to console: https://imgur.com/a/F4hGK4V. Any idea what it could be? I embed them as quizzes, should I add them as normal elements? That we the score doesn't count in the end, but perhaps that could be worth a try... Any advice?
Gijs
otacke
Tue, 10/15/2019 - 10:21
Permalink
Hi Gijs!I am not familiar
Hi Gijs!
I am not familiar with WPLMS and don't know what "skipping a quiz" or embedding as quiz/normal element means in this context or what Dictation would do differently compared to other content types. Do you mind to elaborate/add screen shots?
The error inside the console is most likely not related. Your theme (I suppose) is just trying to load the favicon for the browser menu bar via "http" instead of "https", and since your page is served using https (securely), it can't load content via http (insecure).
Best,
Oliver
MeesterGijs
Sun, 10/20/2019 - 15:31
Permalink
response, mixed content http vs https
Dear Oliver,
I've solved that issue about the favicon, but the issue in the quizzes is still active. I feel like it has to do with the mixed content. The mixed Content issue is a common problem in which the website data (HTML, CSS, and scripts) are loaded on both HTTP and HTTPS connections. This opens up a security loophole that also affects the user experience of the website.
Initially, the data is loaded over HTTPS connection. However, subsequently, a portion of data is loaded over the HTTP connection. For WordPress websites, a common cause of the issue is the presence of hardcoded insecure URL in the databases and files.
I used Really Simple SSL to fix this, but it made my website slow. Are you sure this is not something H5P related?
Gijs
otacke
Tue, 10/22/2019 - 00:37
Permalink
Hi Gijs!I am familiar with
Hi Gijs!
I am familiar with Cross-Site-Scripting and what browsers do to prevent it, yes.
I can't be sure of anything unless you help me understand what you mean with "skipping" as I wondered - but it's hard to believe that a missing favicon would influence the behavior of an H5P content type :-)
Cheers,
Oliver
MeesterGijs
Tue, 10/22/2019 - 00:52
Permalink
This is skipping
Hi Oliver,
These replies are great! I feel h5P is alive again :) Thanks.
About the issue. When I click 'volgende' (meaning: next) in the yellow bar it goes wrong when I go from quiz 3 to 4. But when I skip the yellow button and directly click the next quiz (see and of video) it does work. So it has to do with the yellow button. But the people at WPLMS tell me it has to do with H5P. Can you help? video: http://somup.com/cq6r3dfc2m
Gijs
otacke
Tue, 10/22/2019 - 01:11
Permalink
Hi again!That yellow button
Hi again!
That yellow button is definitely part of WPLMS, but from what I saw on the video I assume what they were hinting to has to do with resizing the H5P content when they switch from one container to the next. If you're on a page where the content seems to be missing, what happens if you resize the browser window?
Best,
Oliver
MeesterGijs
Tue, 10/22/2019 - 08:43
Permalink
doesn't help
Dear Oliver,
Great suggestion. Unfortunatelly, it didn't do much: video
What else could it be?
otacke
Tue, 10/22/2019 - 19:17
Permalink
Hi MeesterGijs!You were
Hi MeesterGijs!
You were zooming in and out, not resizing th window ;-)
Best,
Oliver
MeesterGijs
Wed, 10/23/2019 - 00:47
Permalink
Look at the end of the video
I think I did both. Look what I did at the end of the video? What else do you mean? Could you explain, please?
Gijs
otacke
Wed, 10/23/2019 - 09:25
Permalink
Hiho! Sorry, I didn't watch
Hiho!
Sorry, I didn't watch until the end. Doh! But it seems H5P isn't running on that page at all - there's just this security alert. That's probably not related to what I was thinking of. Could you go to the page that's visible in the first video at timecode 0:09 and try resizing the page there? If the content appears, I am pretty sure I know what that is about, but I have no clue for the security alert.
Cheers,
Oliver
MeesterGijs
Wed, 10/23/2019 - 12:19
Permalink
It didn't appear
Hi,
See the video. It still didn't show the content.
Gijs
otacke
Wed, 10/23/2019 - 19:24
Permalink
It's still that page with the
It's still that page with the "security alert". No clue what this might be - you should probably check your server log files for hints.
I was referring to the page that had the yellow bar of WPLMS but the H5P content above wouldn't show.
MeesterGijs
Wed, 10/23/2019 - 22:11
Permalink
Let me show and explain
Dear Oliver,
Have a look at this video. There is audio. I hope this helps.
MeesterGijs
Wed, 10/23/2019 - 22:12
Permalink
Let me show and explain
Let me show you this video, there is audio. I hope this helps.
otacke
Wed, 10/23/2019 - 23:21
Permalink
Hi again!I don't know WPLMS,
Hi again!
I don't know WPLMS, and probably neither it nor H5P are to be blamed. I assume it's just a problem working together.
There's actually two things I believe: H5P content not showing and that security error message.
The former is most likely explained by this: https://h5p.org/comment/19435#comment-19435 H5P is missing a resize event to scale the content in height that's e.g. triggered by resizing the window or by pressing the retry button. If I am correct, I assume that this could be fixed by modifying WPLMS (but it would be quite a weird thing to do to add some code just for H5P, and would understand if they wouldn't) or by adding some custom script that triggers the resizing (but you'll have to know WPLMS ans your configuration to write it).
The security error is nothing that you could investigate just by looking at the videos. You should check your server's error logs.
Cheers,
Oliver
MeesterGijs
Thu, 10/24/2019 - 08:24
Permalink
full error log
Hi,
This is the full error log, immediately after getting the white page:
otacke
Thu, 10/24/2019 - 18:08
Permalink
That's some database query
That's some database query going wrong, but not within H5P. Whatever might be related to a currency - probably some payment plugin for WordPress?
MeesterGijs
Thu, 10/24/2019 - 20:52
Permalink
could be
Ok. I use Woocommerce and Woocommerce Memberships and Mollie Payments for Woocommerce. Deactivating them still gave the same error.
Gijs
otacke
Fri, 10/25/2019 - 15:31
Permalink
I fear I am out of options
I fear I am out of options for helping.
MeesterGijs
Fri, 10/25/2019 - 16:12
Permalink
Thank You
That's ok. I now a bit more of the issue. I'll try to resolve this with WPLMS. I really appreciate the time you had for me.
PS: How come I was able to get these quick replies now? I felt the last 1,5 year it was very difficult to get a substant reply. Common reply was: We have read your issue and have send it to our technical team..
Gijs
otacke
Fri, 10/25/2019 - 18:38
Permalink
I don't know. ¯\_(ツ)_/¯
I don't know. ¯\_(ツ)_/¯
mrbuys
Thu, 03/26/2020 - 13:24
Permalink
Hello
Hello
otacke
Thu, 03/26/2020 - 20:15
Permalink
Hei!
Hei!