Elementor Background Video

Get compliant today in the European Union, United States, Canada, United Kingdom, Australia, Brazil & South Africa with the only Privacy Suite for WordPress that offers a fully-featured plugin for Worldwide Compliance.

Some integrations are too intrusive to ship by default with Complianz. For these situations and other situations, like specific Google Maps integrations, we have a dedicated Integrations Hub.

One example is the Elementor Video Background. Although possible to block a YouTube background before loading, it will change your user’s experience significantly.

What will happen?

Complianz will find, for this use-case, a YouTube Video as the background of an Elementor section. Most likely, this section is an above-the-fold, full-width video on your homepage, which is the first impression for most new visitors.

Complianz will need to block the entire section to remove YouTube. It will therefore place a placeholder on this section and shows a consent button, example:

You will therefore miss any text or buttons that overlay you video. With consent granted and the video running, example:

What is the best solution?

In our humble opinion it is best to use below integration, whereby you can block the YouTube video and choose if you want a placeholder. The best solution would be setting the constant to ‘false’ on line 5 and use the background fallback in Elementor for everyone who has not consented. If one consents on the banner, the video will play, and for every visit afterwards. This solution will keep your text and buttons. And if needed you can add your own placeholder if needed.

The MU-plugin you can use can be found here, and below:

Recent articles

The Privacy Suite for WordPress
Get compliant today with the only Privacy Suite made for WordPress

Categories

Popular articles

Join our mailing list - 8 Tips & Tricks in your inbox over the next 8 weeks!