Title: Embed Consent
Author: Sam
Published: <strong>2024 年 5 月 28 日</strong>
Last modified: 2026 年 5 月 25 日

---

搜尋外掛

![](https://ps.w.org/embed-consent/assets/icon-256x256.png?rev=3094109)

# Embed Consent

 由 [Sam](https://profiles.wordpress.org/wpsamclarke/) 開發

[下載](https://downloads.wordpress.org/plugin/embed-consent.1.1.1.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/embed-consent/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/embed-consent/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/embed-consent/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/embed-consent/#developers)

 [技術支援](https://wordpress.org/support/plugin/embed-consent/)

## 外掛說明

This plugin replaces embed blocks with a confirmation that prevents loading any 
third party resources until the user has given their consent.

It enhances the built-in embed block and will automatically work with any current
embeds. If the plugin is disabled/removed, all embeds will continue to work there
will just be no consent confirmation.

Currently, the plugin only works with the Gutenberg `core/embed` block.

The currently supported embed providers are:

 * Amazon
 * Animoto
 * Cloudup
 * Crowdsignal
 * DailyMotion
 * Flickr
 * Imgur
 * Issuu
 * Kickstarter
 * Mixcloud
 * Pinterest
 * Pocket Casts
 * Reddit
 * ReverbNation
 * Screencast
 * Scribd
 * Slideshare
 * SmugMug
 * SoundCloud
 * Speaker Deck
 * Spotify
 * TED
 * TikTok
 * Tumblr
 * Twitter
 * VideoPress
 * Vimeo
 * Wolfram
 * WordPress.tv
 * YouTube

## 螢幕擷圖

 * [[
 * Asking user for consent
 * [[
 * Consent given and content loaded
 * [[
 * Asking user for consent with always load opt-in shown
 * [[
 * Dark theme

## 安裝方式

WordPress.org installation:

 1. In your WordPress dashboard, go to Plugins -> Add New Plugin
 2. Search for “Embed Consent”
 3. Click “Install now”
 4. Go to Plugins -> Installed plugins and click “activate” to enable the plugin.

Manual installation:

 1. Upload plugin files to the /wp-content/plugins/embed-consent directory.
 2. In your WordPress dashboard, go to Plugins -> Installed plugins and click “activate”
    to enable the plugin.

To allow users to opt-in to always loading a provider:

 1. Go to Settings -> Embed Consent and enable the “Show always load opt-in” setting.
 2. Add the shortcode `[embed_consent_opt_out]` to your privacy policy to allow users
    to opt-out again.

## 常見問題集

### How does it work?

This plugin filters the output of `core/embed` blocks to add a consent message and
prevent loading any third-part resources until consent is given.

### What happens to embeds if I disable/remove this plugin?

They will continue to work as normal there will just be no consent message shown.

### Can users opt-in to always loading a provider?

Yes, there is a setting to allow users to opt-in to always loading a provider by
showing a checkbox below the consent button.

### Can users opt-out again from always loading a provider?

Yes, add the shortcode `[embed_consent_opt_out]` to your privacy policy which will
allow opting out.

Alternatively, disabling the setting which allows users to opt-in to always loading
will disable always loading.

### Does it work with caching?

Yes, it has been tested with WP Super Cache and there should be no issues with other
caching plugins.

When changing settings in the admin area, you may need to clear the cache for the
changes to take effect.

## 使用者評論

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

### 󠀁[Doesn’t work](https://wordpress.org/support/topic/doesnt-work-3248/)󠁿

 [wordpress1412](https://profiles.wordpress.org/sangitamane/) 2025 年 10 月 6 日

I tested this, by embedding a Youtube video on my page and nothing happens.

 [ 閱讀全部 1 則使用者評論 ](https://wordpress.org/support/plugin/embed-consent/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Embed Consent〉的開發相關工作。

參與者

 *   [ Sam ](https://profiles.wordpress.org/wpsamclarke/)

〈Embed Consent〉外掛目前已有 2 個本地化語言版本。 感謝[全部譯者](https://translate.wordpress.org/projects/wp-plugins/embed-consent/contributors)
為這個外掛做出的貢獻。

[將〈Embed Consent〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/embed-consent)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/embed-consent/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/embed-consent/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/embed-consent/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/embed-consent/)。

## 變更記錄

#### 1.1.1

 * Fix issue with URLs being set before translations are loaded

#### 1.1.0

 * Add a filter for the consent template `embed_consent_consent_template` which 
   allows replacing the embed template.
    - Thanks to @tkcknost

#### 1.0.1

 * Fix missing light / dark theme example images

#### 1.0.0

 * Initial release

## 中繼資料

 *  版本 **1.1.1**
 *  最後更新 **2 天前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 6.1.1 或更新版本 **
 *  已測試相容的 WordPress 版本 **7.0**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/embed-consent/)、[German](https://de.wordpress.org/plugins/embed-consent/)、
   及 [Polish](https://pl.wordpress.org/plugins/embed-consent/).
 *  [將這個外掛本地化為你的母語版本](https://translate.wordpress.org/projects/wp-plugins/embed-consent)
 * 標籤:
 * [consent](https://tw.wordpress.org/plugins/tags/consent/)[embed](https://tw.wordpress.org/plugins/tags/embed/)
   [GDPR](https://tw.wordpress.org/plugins/tags/gdpr/)[oembed](https://tw.wordpress.org/plugins/tags/oembed/)
   [privacy](https://tw.wordpress.org/plugins/tags/privacy/)
 *  [進階檢視](https://tw.wordpress.org/plugins/embed-consent/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  1 個 5 星使用者評論     ](https://wordpress.org/support/plugin/embed-consent/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/embed-consent/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/embed-consent/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/embed-consent/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/embed-consent/reviews/?filter=1)

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

[查看全部使用者評論](https://wordpress.org/support/plugin/embed-consent/reviews/)

## 參與者

 *   [ Sam ](https://profiles.wordpress.org/wpsamclarke/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/embed-consent/)