Show videos, maps and booking tools from other hosts only after a visitor agrees, with a clear placeholder and without a cookie banner of a third party.
For site owners and agencies · Leitvia Studio · Administrator · Checked with Leitvia 1.2.69 and Leitvia Studio 1.3.65
All of this needs the free plugin Leitvia Studio. The theme alone shows embeds the way WordPress does.
What visitors see
An embed from YouTube, Vimeo, X, Spotify, SoundCloud or TikTok shows a placeholder instead of the content. It names the provider, says what loading sends, links the privacy policy of the provider and offers:
- Load content from … loads it once.
- Always allow … on this site remembers the choice in this browser.
- Open on … opens the content on the site of the provider.
Nothing is loaded from the provider before the click.

Check the settings
- Open Leitvia Studio › Settings, tab Privacy.
- Keep Ask visitors before loading embedded content from other sites on. It is on by default.
- Keep Allow Gravatar for users and commenters without a local picture and Load the emoji script of WordPress off. Both send the IP address of visitors to other hosts.
- Under Map tile server, keep the default (OpenStreetMap) or enter another server for the map images of the Map block.
- Choose Save settings.
For your privacy policy, open Who receives which data, for your privacy policy at the end of the tab. It explains each setting in plain words.

Embed a tool of another provider
For a configurator, a booking tool or a video file on another host, add the provider once, then place the block Embed behind consent.
- In Leitvia Studio › Settings, tab Privacy, under Providers of embedded content, choose Add provider.
- Fill in Name, Hosts (the addresses the content comes from), Purpose and Privacy policy of the provider. Choose Save settings.
- In the editor, add the block Embed behind consent and enter the Address of the content and a Title for screen readers.
The page shows the placeholder with the name, purpose and privacy policy of the provider. Name each provider in your privacy policy.


Let visitors change their mind
- Open your privacy policy page in the editor.
- Add the block Consent settings and choose Save.
Visitors see every provider they always allow and can revoke each one. The footers of the theme also hold the link Cookie settings. It opens a dialog on every page that says what needs consent on this site and links the privacy policy.

For developers: scripts of other plugins
Scripts of other plugins, such as statistics or ads, can wait for consent too, in the categories Statistics and Marketing. A developer names them with the filter leitvia_studio_consent_scripts; the hooks reference has the details.
Read next: Check accessibility, Privacy and accessibility and Blocks and motion.