Placeholder instead of video or map
The Consent plugin's Script Blocking neutralizes scripts and stylesheets; it does not take apart embedded frames such as YouTube, Google Maps or Spotify. There is a separate switch for that. When it is active, a frame without consent is replaced by a placeholder before delivery — which is exactly why the page suddenly looks different after you flip it.
Where the switch sits
- Open the “Kakapo Consent” entry in the WordPress menu.
- On the left, switch to the “Resources” (in German: „Ressourcen“) item in the “Rules” group.
- Look for the “External embeds (iframes)” card with the “Block embeds” switch.
- With the block switched on, the fields “Heading”, “Notice text”, “Button label” and “Placeholder background” appear below it.
- The table at the end of the card lists every pattern with provider, category and origin — “bundled” or “custom rule”.
What gets replaced and what stays
- Bundled patterns include ones for YouTube, Vimeo, Dailymotion, Twitch, Google Maps, OpenStreetMap, Spotify, SoundCloud, Typeform, Calendly, Instagram, Facebook, TikTok
- The comparison is made against the full src address of the frame, so paths are permitted
- Invisible counting frames are left untouched: height or width 0, display:none, visibility:hidden or aria-hidden="true"
- A blocked frame is not delivered in the first place — its original markup travels along encoded inside the placeholder and is put back unchanged on click
Texts and custom rules
In “Heading” and “Notice text”, %s stands for the name of the provider and is replaced literally. The defaults are the heading “External content from %s” and the button “Load content”. Frames that match no bundled pattern go into the “Custom embed rules” field — one rule per line in the format pattern, vertical bar, category.
widget.example.com | marketingThe permitted categories are notwendig, funktional, statistik, marketing, medien and sonstige. The bundled patterns sit in “medien”, or in “marketing” for social networks — which category a visitor has to release for the frame to appear is shown in the table.
No placeholder to be seen
- The visitor has already consented to the associated category — then nothing is replaced
- Under “General” (in German: „Allgemein“), “CMP enabled” is off; then nothing is output and nothing is blocked in the frontend
- Under “General” (in German: „Allgemein“), “Preview mode” is on; the Consent interface then only takes effect for signed-in administrators
- The address of the frame does not match any of the patterns — then a custom rule is needed