• Resolved felix001

    (@felix001)


    Hi!

    I have an autoplay background video from YouTube on my site, which is not being blocked by the Complianz plugin, although consent was not given. I know, that I need the Elementor background video integration (https://github.com/complianz/complianz-integrations/blob/master/elementor-background-video.php) for this to work, so I placed the .php file in my mu-plugins folder. I can also see, that the integration is running.

    Unfortunately, the video is not being blocked no matter what I select in the cookie banner.

    I suspect this issue is related to the new Flexbox Container system of Elementor which doesn’t place background videos inside <section class="elementor-section"> elements anymore. What would I have to do to make it work again?

    Kind regards,

    Felix

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Antonio Candela

    (@antoiub)

    Hello @felix001 ,

    Thanks for reaching out.

    That integration is about 4 years old now, so it is almost certainly outdated regarding the new Elementor structure.

    Since you seem to have pinpointed the change (Flexbox Containers vs Sections), could you let us know specifically which version or update introduced this new structure?

    This information would be very helpful for us to evaluate an update, subject to a review of the new specifications.

    Best regards,
    Antonio

    Thread Starter felix001

    (@felix001)

    Hello Antonio!

    Thank you very much for your fast reply!
    According to my research, flexbox container appeared for the first time in Elementor 3.6.

    I’m not a programmer, but as far as I understand the code, the problem might be in line 148:

    $iframe_pattern = '/<section class="elementor-section.*?[^>]section" data-settings="[^"]+?background_video_link[^;]*?&quot;:&quot;(https:.*?youtu.+?(?=&quot;))&quot;/is';

    The integration is looking for background videos inside <section class="elementor-section">
    But when I examine the source code of the background video on my website, it shows something that starts with <div class="elementor-element That means, it can’t find the video anymore.

    Best regards,
    Felix

    Plugin Author Aert

    (@aahulsebos)

    Update coming in 14 days.

    Please open a new thread to continue this support ticket. Thanks, Aert

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.