Title: Embed Privacy
Author: epiphyt
Published: <strong>2018 年 10 月 4 日</strong>
Last modified: 2026 年 5 月 12 日

---

搜索插件

![](https://ps.w.org/embed-privacy/assets/icon.svg?rev=2812349)

# Embed Privacy

 作者：[epiphyt](https://profiles.wordpress.org/epiphyt/)

[下载](https://downloads.wordpress.org/plugin/embed-privacy.1.12.4.zip)

[实时预览](https://cn.wordpress.org/plugins/embed-privacy/?preview=1)

 * [详情](https://cn.wordpress.org/plugins/embed-privacy/#description)
 * [评价](https://cn.wordpress.org/plugins/embed-privacy/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/embed-privacy/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/embed-privacy/#developers)

 [支持](https://wordpress.org/support/plugin/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 
the loading of these contents until the visitor decides to allow loading of external
content.
 But Embed Privacy not only protects your visitor’s 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 then be loaded.

**Note: This plugins requires the PHP extension [“Document Object Model” (php-dom)](https://www.php.net/manual/en/book.dom.php).**

#### Contribution

Feel free to contribute. The code is available at [GitHub](https://github.com/epiphyt/embed-privacy).

#### Documentation

You can find the documentation for Embed Privacy at [docs.epiph.yt](https://docs.epiph.yt/embed-privacy/).

## 屏幕截图

 * [[
 * Add embeds using the classic editor or the block editor’s embed blocks.
 * [[
 * Embed Privacy will add an overlay to supported embeds automatically.
 * [[
 * You can customize the overlays for each service individually.
 * [[
 * Different settings allow you to adjust the functionality of Embed Privacy according
   to your needs.

## 安装

 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.
 4. To allow users to opt-out of embed providers that they set to always active, place
    the shortcode `[embed_privacy_opt_out]` into your privacy policy.

## 常见问题

### 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 can 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 use cookies?

If you use the opt-out functionality with the shortcode or the functionality to 
allow the user to always display content of certain embed providers, Embed Privacy
creates a single cookie called `embed-privacy` with an expiration of 1 year to store
the user’s choice.

### Does Embed Privacy support the block editor?

Sure thing! We enjoy playing with the block 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 by default. Want
to know about them? Here you go:

 * Amazon Kindle
 * Anghami
 * Animoto
 * Bluesky
 * Canva
 * Cloudup
 * DailyMotion
 * Facebook
 * Flickr
 * Funny Or Die
 * Imgur
 * Instagram
 * Issuu
 * Kickstarter
 * Meetup
 * Mixcloud
 * Photobucket
 * Pocket Casts
 * Polldaddy.com
 * Reddit
 * ReverbNation
 * Scribd
 * Sketchfab
 * SlideShare
 * SmugMug
 * SoundCloud
 * Speaker Deck
 * Spotify
 * TikTok
 * TED
 * Tumblr
 * Twitter
 * VideoPress
 * Vimeo
 * WordPress.org
 * WordPress.tv
 * YouTube

We also support Google Maps via iframe and Divi and the following plugins:

 * BuddyPress activity stream
 * Jetpack (Facebook posts)
 * Maps Marker (Pro)
 * Shortcodes Ultimate
 * wpForo (with the plugin wpForo Embeds)

Additionally, we support the following custom content:

 * Local Fediverse content
 * Local X posts
 * Facebook embed code (HTML)
 * Instagram embed code (HTML)

Since version 1.2.0, you can also add custom embed providers by going to **Settings
> Embed Privacy > Manage embeds**. Here you can also modify any existing embed provider,
change its logo, add a background image, change the text displaying on the embed
or disable the embed provider entirely.

### Can Embed Privacy automatically download thumbnails of the embedded content?

Yes! Since version 1.5.0, Embed Privacy supports downloading and displaying thumbnails
in posts for SlideShare, Vimeo and YouTube as background of Embed Privacy’s overlay.

### Can users opt-out of already opted in embed providers?

Yes! You can use the shortcode `[embed_privacy_opt_out]` to add a list of embed 
providers anywhere you want (recommendation: add it to your privacy policy) to allow
your users to opt-out.

### What parameters can be used in the shortcode?

The shortcode `[embed_privacy_opt_out]` can be used to let users opt-out of embed
providers that have been set to be always active by the user. It can have the following
attributes:

    ```
    headline – Add a custom headline (default: Embed providers)


    [embed_privacy_opt_out headline="My custom headline"]


    subline – Add a custom subline (default: Enable or disable embed providers globally. By enabling a provider, its embedded content will be displayed directly on every page without asking you anymore.)


    [embed_privacy_opt_out subline="My custom subline"]


    show_all – Whether to show all available embed providers or just the ones the user opted in (default: false)


    [embed_privacy_opt_out show_all="1"]
    ```

You can also combine all of these attributes:

    ```
    [embed_privacy_opt_out headline="My custom headline" subline="My custom subline" show_all="1"]
    ```

### Is this plugin compatible with my caching plugin?

If you’re using a caching plugin, make sure you enable the “JavaScript detection
for active providers” in **Settings > Embed Privacy > JavaScript detection**. Then,
the plugin is fully compatible with your caching plugin.

### How can Embed Privacy be extended?

Check out our documentation: [https://epiph.yt/en/embed-privacy/documentation/](https://epiph.yt/en/embed-privacy/documentation/)

### Who are you, folks?

We are [Epiphyt](https://epiph.yt/en/), your friendly neighborhood WordPress plugin
shop from southern Germany.

### How can I report security bugs?

You can report security bugs through the Patchstack Vulnerability Disclosure Program.
The Patchstack team help validate, triage and handle any security vulnerabilities.
[Report a security vulnerability.](https://patchstack.com/database/vdp/embed-privacy)

## 评价

![](https://secure.gravatar.com/avatar/0a5d8653df67c17f2e4a9bdd3e1478f1bb38522075f7b4c6e7ad5375040317fd?
s=60&d=retro&r=g)

### 󠀁[Fantastic](https://wordpress.org/support/topic/fantastic-3438/)󠁿

 [Pineapple is DISGUSTING on Pizza](https://profiles.wordpress.org/magictrashcan/)
2025 年 7 月 1 日

Just what the doctor ordered! Absolute must-have plugin for GDPR-compliant embedding
of external media (in my case YT Videos)

![](https://secure.gravatar.com/avatar/e24e12676a3bd84a25fa352817ea3e6b9e94b9f7e2a26a86cb5fb1504568e5ea?
s=60&d=retro&r=g)

### 󠀁[AMAZING](https://wordpress.org/support/topic/amazing-4097/)󠁿

 [visualworker002](https://profiles.wordpress.org/visualworker002/) 2025 年 2 月
28 日

Embed Privacy is an absolute game-changer for anyone who wants to embed vimeo videos
without compromising user privacy!

![](https://secure.gravatar.com/avatar/15fb171616df1c741f97ec53fb18c94f9d853ddff5c41564d5d6111b1cdc680a?
s=60&d=retro&r=g)

### 󠀁[simple and easy BUT with bugs](https://wordpress.org/support/topic/simple-and-easy-but-with-bugs/)󠁿

 [wotography](https://profiles.wordpress.org/wotography/) 2024 年 7 月 28 日 1 回复

cool plugin, apreciate it!unfortunately on a page where I embed several videos from
different video pattforms (eg. YouTube & Vimeo) once I click to accept one, it always
load all the videos from all the plattforms. Even if I dont choose to accept all
the YouTube ones it loads them anyway once I click on any video to be loaded.

![](https://secure.gravatar.com/avatar/c8ce6d15ccb9ae5d78178f7de418f9ebe17db1d35dc62bd3fc56d3fcbc5944a3?
s=60&d=retro&r=g)

### 󠀁[Just what I was looking for!](https://wordpress.org/support/topic/just-what-i-was-looking-for-569/)󠁿

 [Chris Lovie-Tyler](https://profiles.wordpress.org/chrislt/) 2024 年 7 月 13 日
2 回复

It’s annoying that this plugin even has to exist (to prevent, for example, Google
from tracking people before they’ve even viewed a YouTube video), but, in the world
of GDPR, it’s necessary. And I’m thankful for it. There are just a couple of things
I think could be improved: The default text “Click here to display content from 
X” isn’t as clear as it could be for an opt in. I think it should be something like,“
Click here to accept X tracking and view content”. That’s what I’ve customised it
to be. The “Disable X” checkbox that can be inserted into a privacy policy via a
shortcode is pre-selected. To me, this is confusing. I wonder whether it would be
better as a toggle–or, when you click it, to briefly show the checkbox selected 
and then change to “Enable X”. I also think the language could be clearer: “Opt 
out of X tracking on this site”, or something like that. Other than that, great,
simple plugin. Thanks for making it!

![](https://secure.gravatar.com/avatar/3e49915a7e162eda11b1f34f8a816096c2899c72786e60faa308c820988a537a?
s=60&d=retro&r=g)

### 󠀁[Tolles Plugin!](https://wordpress.org/support/topic/tolles-plugin-105/)󠁿

 [rehatiere007](https://profiles.wordpress.org/rehatiere007/) 2024 年 6 月 16 日

Funktioniert super mit dem Einbettungscode von FB und Instagram.

![](https://secure.gravatar.com/avatar/6129f502e07454a77839733e54c7a1028c6f9b8c1af73dbe7fa02412a7d88675?
s=60&d=retro&r=g)

### 󠀁[Amazing, super easy to use and effective!](https://wordpress.org/support/topic/amazing-super-easy-to-use-and-effective/)󠁿

 [bauble9303](https://profiles.wordpress.org/bauble9303/) 2024 年 5 月 27 日

As far as I know it is not possible to use the nocookie adress for youtube videos
with the default wordpress youtube embeds. This plugin solves this in the most perfect
way. Thank you very much for this!

 [ 阅读所有26条评价 ](https://wordpress.org/support/plugin/embed-privacy/reviews/)

## 贡献者及开发者

「Embed Privacy」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ epiphyt ](https://profiles.wordpress.org/epiphyt/)
 *   [ Matthias Kittsteiner ](https://profiles.wordpress.org/kittmedia/)
 *   [ Simon Kraft ](https://profiles.wordpress.org/krafit/)

「Embed Privacy」插件已被翻译至 6 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/embed-privacy/contributors)
为本插件所做的贡献。

[帮助将「Embed Privacy」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/embed-privacy)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/embed-privacy/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/embed-privacy/)，或通过[RSS](https://plugins.trac.wordpress.org/log/embed-privacy/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/embed-privacy/)。

## 更新日志

#### 1.12.4

 * Fixed: Prevent deletion of non-thumbnails

#### 1.12.3

 * Fixed: Saving embed fields for embed providers was not successful

#### 1.12.2

 * Improved: Dynamic content is now handled more performant
 * Fixed: The current focussed element is no more changed to the first active embed
   after page load

#### 1.12.1

 * Fixed: Fatal error during activation and saving embed providers

#### 1.12.0

 * Added: Allow handling dynamic content (in combination with the setting “Force
   script loading”)
 * Improved: Performance for content with many blocks
 * Improved: Overall performance through various caching mechanisms
 * Changed: Renamed tweets to X posts
 * Fixed: Default English descriptions are now automatically translated as soon 
   as a translation is available, if it’s missing during installation
 * Fixed: Handling multiple Instagram/Facebook posts within the same content
 * Fixed: Fatal error in combination with Sugar Calendar Lite and Elementor

For the full changelog, please visit [https://docs.epiph.yt/embed-privacy/changelog.html](https://docs.epiph.yt/embed-privacy/changelog.html).

## 社区插件

该插件由社区开发和支持。 [为该插件贡献](https://github.com/epiphyt/embed-privacy/)

## 额外信息

 *  版本 **1.12.4**
 *  最后更新：**3 周前**
 *  活跃安装数量 **10,000+**
 *  WordPress 版本 ** 5.9 或更高版本 **
 *  已测试的最高版本为 **7.0**
 *  PHP 版本 ** 5.6 或更高版本 **
 *  语言
 * [Albanian](https://sq.wordpress.org/plugins/embed-privacy/) 、 [Asturian](https://ast.wordpress.org/plugins/embed-privacy/)、
   [English (US)](https://wordpress.org/plugins/embed-privacy/) 、 [German](https://de.wordpress.org/plugins/embed-privacy/)、
   [Spanish (Chile)](https://cl.wordpress.org/plugins/embed-privacy/) 、 [Spanish (Spain)](https://es.wordpress.org/plugins/embed-privacy/)
   和 [Swedish](https://sv.wordpress.org/plugins/embed-privacy/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/embed-privacy)
 * 标签
 * [gutenberg](https://cn.wordpress.org/plugins/tags/gutenberg/)[iframes](https://cn.wordpress.org/plugins/tags/iframes/)
   [oembed](https://cn.wordpress.org/plugins/tags/oembed/)[performance](https://cn.wordpress.org/plugins/tags/performance/)
   [privacy](https://cn.wordpress.org/plugins/tags/privacy/)
 *  [高级视图](https://cn.wordpress.org/plugins/embed-privacy/advanced/)

## 评级

 4.9 星（最高 5 星）。

 *  [  25 条 5 星评价     ](https://wordpress.org/support/plugin/embed-privacy/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/embed-privacy/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/embed-privacy/reviews/?filter=3)
 *  [  1 条 2 星评价     ](https://wordpress.org/support/plugin/embed-privacy/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/embed-privacy/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/embed-privacy/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/embed-privacy/reviews/)

## 贡献者

 *   [ epiphyt ](https://profiles.wordpress.org/epiphyt/)
 *   [ Matthias Kittsteiner ](https://profiles.wordpress.org/kittmedia/)
 *   [ Simon Kraft ](https://profiles.wordpress.org/krafit/)

## 支持

最近两个月解决的问题：

     总计 2，已解决 2

 [查看支持论坛](https://wordpress.org/support/plugin/embed-privacy/)