Embed Privacy


Content embedded from external sites such as YouTube or Twitter is loaded immediately when visitors access your site. Embed Privacy addresses this issue and prevents loading of these contents until the visitor decides to allow loading of external content.
But Embed Privacy not only protects your visitors privacy, but also makes your site load faster.

All embeds will be replaced by placeholders, ready for you to apply style as you wish. With only a couple of lines of CSS.

By clicking on the placeholder the respective content will be reloaded.



  1. Upload the plugin files to the /wp-content/plugins/embed-privacy directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ’Plugins’ screen in WordPress.
  3. Embedded content will automatically be replaced by a placeholder and can be loaded on demand by your visitors. There are no additional settings.

Vanliga frågor

Can Embed Privacy keep external services from tracking me/my visitors?

Yes. As long as you don’t opt-in to load external content, you/your visitors can’t be tracked by these services.

Does Embed Privacy make embedding content privacy-friendly?

The embedding process itself will be privacy-friendly with Embed Privacy. That means, that no third-party embed provider is able to track users without their explicit consent by clicking on the overlay to allow the embed to be loaded. However, to make sure everything is fine you need to expand your privacy policy for each embed provider you’re using or you want to use, because you need to specify, where data will be sent to and what happens to them.

Does Embed Privacy support the Gutenberg editor?

Sure thing! We enjoy playing with the new WordPress editor and developed Embed Privacy with Gutenberg in mind, the plugin will work no matter the editor you use.

Which embeds are currently supported?

We currently support all oEmbed providers known to WordPress core. Want to know about them? Here you go: Amazon Kindle (since WordPress 5.2), Animoto, Cloudup, DailyMotion, Facebook, Flickr, Funny Or Die, Imgur, Instagram, Issuu, Kickstarter, Meetup, Mixcloud, Photobucket, Photobucket, Polldaddy.com, Reddit, ReverbNation, Scribd, Sketchfab, SlideShare, SmugMug, SoundCloud, Speaker Deck, Spotify, TikTok, TED, Tumblr, Twitter, VideoPres, Vimeo, WordPress.org, WordPress.tv, YouTube.

Developers: How to use Embed Privacy’s methods for custom content?

Since version 1.1.0 you can now use our mechanism for content we don’t support in our plugin. You can do it the following way:

 * Replace specific content with the Embed Privacy overlay of type 'google-maps'.
 * @param   string      $content The content to replace
 * @return  string The updated content
function prefix_replace_content_with_overlay( $content ) {
    // check for Embed Privacy
    if ( ! class_exists( 'epiphyt\Embed_Privacy\Embed_Privacy' ) ) {
        return $content;

    // get Embed Privacy instance
    $embed_privacy = epiphyt\Embed_Privacy\Embed_Privacy::get_instance();

    // check if provider is always active; if so, just return the content
    if ( ! $embed_privacy->is_always_active_provider( 'google-maps' ) ) {
        // replace the content with the overlay
        $content = $embed_privacy->get_output_template( 'Google Maps', 'google-maps', $content );

    return $content;

Who are you folks?

We are Epiphyt, your friendly neighborhood WordPress plugin shop from southern Germany.


12 juli, 2019
This plugin effectively blocks third party snoopers in embeds on my site, while still allowing the users the choice to activate the embeds with a click. I hope the developers will keep maintaining this important plugin!
18 februari, 2019
Awesome Plugin for EU-Countries. There is nothing comparable. Just three ideas for the future. 1. Definitely needs a user-option to enable the embeds again (mobile users will accidantelly touch the disable while scrolling) 2. Looking for a global user option to enable/disable embeds for each social network used (so people can switch embeds on/off, example in the privacy policy) 3. General detection of embed codes, not only Gutenberg embed-blocks
10 oktober, 2018
The plugin makes all oEmbeds to "Click this to view" and works out of the box (also with Gutenberg). One or two CSS-tweaks and it fulfills all the privacy dreams of your users. Do recommend!
Läs alla 5 betyg

Bidragsgivare och utvecklare

”Embed Privacy” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

”Embed Privacy” har översatts till 3 språk. Tack till översättarna för deras bidrag.

Översätt ”Embed Privacy” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.



  • Changed provider name from Polldaddy to Crowdsignal
  • Removed provider Hulu


  • Fixed a possible difference in the used class name of the embed provider in HTML and CSS


  • Removed provider CollegeHumor
  • Fixed a bug with the automatic addition of paragraphs


  • Added option to allow all embeds by one provider
  • Added provider TikTok, introduced in WordPress 5.4
  • Added support for Google Maps iframes
  • Added URL rewrite to youtube-nocookie.com
  • Added option to save user selection per embed provider
  • Added provider logo to our placeholder
  • Added option to filter our placeholders markup
  • Added support for ’alignwide’ and ’alignfull’ Gutenberg classes
  • Added support for using our embedding overlay mechanism for external developers
  • Improved our placeholder markup to be actually semantic
  • Changed .embed- classes to .embed-privacy-
  • Fixed some embed providers that use custom z-index, which results in the embedded content being above the overlay
  • Fixed typos


  • Improved compatibility with Autoptimize
  • Improved compatibility with AMP
  • Fix issue with Slideshare causing wrong (generic) placeholders


  • Fixed support for PHP 5.6


  • Initial release