Poster Attribute Set But No Poster Specified - Question | JoomShaper
SP Page Builder 6 is Here! Learn More →

Poster Attribute Set But No Poster Specified

K

kweb

SP Page Builder 3 months ago

Hello Joomlashaper Team, since various contact forms from SPPB have been abused by spam robots in the meantime and due to the GDPR regulations in Germany I don't want to use Google Recaptcha, I looked around for an alternative spam protection and ended up with ECC Calc Check + https://kubik-rubik.de/de/ecc-easycalccheck-plus. This spam protection works well - even with SPPB's Form Builder. On one page, however, I have the problem that the spam check is not passed. I discussed the problem with the developer of the plugin and he wrote me the following and pointed out a bug in SPPB:

The problem is not due to a spam protection measure, but rather to faulty behavior of the background video, which is integrated under “Doing good together – your help counts!” The problem is that this section integrates the video with the poster attribute, even though no image has been defined. In this case, the browser makes an HTML request to the server. And that is precisely the problem! When a normal HTML request is received, ECC+ naturally regenerates all queries and writes them to the session. This overwrites all previous values and the spam protection can no longer be disabled.

You can either store an image for this background video so that no HTML request is sent, or you can remove the faulty part in the Page Builder layout (temporary solution, should actually be fixed by the developers):

Open: components/com_sppagebuilder/layouts/row/start.php

Search (line 452):

$html .= ‘<video class="section-bg-video" autoplay muted playsinline ’ . $video_loop . ‘’ . $video_params . ‘’ . ($lazyload ? ‘ data-poster=“’ . $video_poster . ‘”’ : ‘ poster="/’ . $video_poster . ‘"’) . ‘>’;

Change to:

$html .= ‘<video class="section-bg-video" autoplay muted playsinline ’ . $video_loop . ‘’ . $video_params . ‘>’;

This is a workaround. To do it correctly, developers need to check whether the $video_poster variable is set, is not empty, and the assigned image exists. Only then should the poster attribute be set.

Maybe you can provide a fix for that. Affected page ist: https://www.ich-will-teilhaben.de/ I will implement his fix right now.

kweb

0
2 Answers
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 3 months ago #197792

Hello kweb,

Thank you for reaching out to our technical support forum. I’m sorry to hear about the trouble you’re experiencing.

I have shared your feedback with the developer team. Hopefully, they will improve it in the next release.

Best regards

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 2 months ago #201759

Just checking in to see if you have feedback on the provided solution. If the answer resolved your query, you can mark it as accepted to close the post and guide others with similar questions. You’ll find a button to accept answers below each comment.

If you need further assistance, feel free to let us know!

0