Title: GDPR-Extensions-com &#8211; Youtube 2xClick Solution
Author: GDPR-Extensions.com
Published: <strong>2024 年 6 月 3 日</strong>
Last modified: 2025 年 4 月 25 日

---

搜索插件

![](https://s.w.org/plugins/geopattern-icon/gdpr-extensions-com-youtube-2clicksolution.
svg)

# GDPR-Extensions-com – Youtube 2xClick Solution

 作者：[GDPR-Extensions.com](https://profiles.wordpress.org/gdprextensionscom/)

[下载](https://downloads.wordpress.org/plugin/gdpr-extensions-com-youtube-2clicksolution.1.0.1.zip)

 * [详情](https://cn.wordpress.org/plugins/gdpr-extensions-com-youtube-2clicksolution/#description)
 * [评价](https://cn.wordpress.org/plugins/gdpr-extensions-com-youtube-2clicksolution/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/gdpr-extensions-com-youtube-2clicksolution/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/gdpr-extensions-com-youtube-2clicksolution/#developers)

 [支持](https://wordpress.org/support/plugin/gdpr-extensions-com-youtube-2clicksolution/)

## 描述

The **YouTube 2xClick Solution** by GDPR-Extensions.com is a privacy-first plugin
that allows you to embed YouTube videos in a GDPR-compliant manner. By default, 
videos are hidden behind a customizable content mask and only activated after the
user consents to the use of YouTube cookies.

Key features include:
 – Consent-based embedding with customizable overlay. – No
YouTube cookies until user approval. – Integration with cookie consent managers 
or standalone usage. – Custom player settings (autoplay, loop, controls).

### Features and Customization

Content Mask Customization:
 – Choose a background color or upload a custom image.–
Edit the overlay text (e.g., “To watch this video, please allow cookies from YouTube.”).

Consent Workflow:
 – With consent manager: YouTube cookies are listed and require
approval before the video is loaded. – Without consent manager: Consent is collected
directly from the overlay.

Player Configuration:
 – Control autoplay, loop, and visibility of player controls.–
Multiple YouTube videos can be embedded per page.

### Data Handling Policy

Objective:
 To ensure full GDPR compliance through transparent and minimal data 
usage.

### YouTube Embedding

Purpose: Embed videos in a privacy-friendly way without preloading external resources.

Data Sent: No cookies or external YouTube connections until user approval.

Data Storage: Cookies are only stored after consent and expire after 30 days. No
persistent data is stored by the plugin.

Consent Options

= With Consent Manager:=
 – Consent is requested and managed via your site’s cookie
manager.

#### Without Consent Manager:

 * Consent is obtained directly via the plugin’s content mask.

#### Security and User Control:

 * No automatic data sharing.
 * Users control when and how cookies are created.
 * No third-party scripts load without consent.

### How to Use

 1. Install and activate the plugin.
 2. Navigate to `Settings > YouTube 2xClick` to configure appearance and behavior.
 3. Use the shortcode `[youtube_2xclick url="VIDEO_URL"]` in any post, page, or widget.
 4. Customize player and consent options using shortcode attributes.

### External Service Details

This plugin connects to YouTube only after users explicitly opt-in. All calls and
cookies are disabled by default, ensuring compliance with GDPR, ePrivacy, and privacy-
focused web development standards.

### Developer Notes

Prefix for functions and database entries: `gdprextensionscomyt2x`
 Built with WordPress
best practices and compatibility in mind.

### Privacy Policy

The YouTube 2xClick Solution by GDPR-Extensions.com is designed to respect user 
privacy and ensure full compliance with GDPR and related data protection laws.

#### What Data Is Collected:

 * By default, no personal data is collected or stored by the plugin.
 * YouTube videos and cookies are only loaded after explicit user consent.

#### How Consent Is Handled:

 * When a consent management system is active, this plugin defers cookie handling
   to that system.
 * Without a consent manager, users must interact with a content mask to enable 
   cookies. No YouTube scripts or tracking are triggered before consent.

#### Cookie Information:

 * YouTube cookies (e.g., VISITOR_INFO1_LIVE, YSC, and others) are only created 
   after the user consents.
 * Default cookie expiration is 30 days unless modified by YouTube.

#### Data Sharing:

 * No user data is sent to GDPR-Extensions.com.
 * No third-party data sharing occurs without user action.

#### Security:

 * The plugin avoids preloading third-party scripts and follows WordPress security
   best practices.

#### Your Control:

 * Users may revoke consent at any time via your site’s cookie management tools.
 * Admins may remove or reset embedded videos to reset consent behavior.

For more information, review:
 – https://policies.google.com/privacy – https://policies.
google.com/terms –[GDPR-Extensions.com Terms](https://www.gdpr-extensions.com/gdpr-solutions/our-2-click-solutions/youtube-2xclick-solution/terms-of-use)–
[GDPR-Extensions.com Privacy Policy](https://www.gdpr-extensions.com/gdpr-solutions/our-2-click-solutions/youtube-2xclick-solution/privacy-policy)

### Frequently Asked Questions (FAQ)

**How does this plugin block YouTube cookies?**
 Until consent is given, YouTube
is not loaded, preventing any cookie creation or tracking.

**Do I need a consent manager?**
 No. The plugin works standalone or integrates 
with existing consent management tools.

**Can I style the content mask?**
 Yes, through the plugin settings you can customize
background image, color, and text.

**What happens after the user consents?**
 The content mask is removed, the YouTube
video is loaded, and cookies are created.

### Developer Notes

This plugin uses the ‘gdprextensioncomyt’ prefix for function names and database
tables to ensure uniqueness and avoid conflicts with other plugins.

### Contact

For questions or support, reach out to us at support@gdpr-extensions.com.

## 区块

该插件提供了 1 个区块.

 *   YouTube

## 安装

 1. Upload the plugin files to the `/wp-content/plugins/gdpr-extensions-com-youtube-
    2xclick-solution` directory, or install via the WordPress plugin repository.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Go to `Settings > YouTube 2xClick` to customize the content mask and player behavior.

To embed a video:
 – Use the shortcode: [youtube_2xclick url=”https://www.youtube.
com/watch?v=example123″]

 * Optional attributes:
    autoplay=”1″, `loop="1"`, `controls="0"`

## 评价

此插件暂无评价。

## 贡献者及开发者

「GDPR-Extensions-com – Youtube 2xClick Solution」是开源软件。 以下人员对此插件做出
了贡献。

贡献者

 *   [ GDPR-Extensions.com ](https://profiles.wordpress.org/gdprextensionscom/)

[帮助将「GDPR-Extensions-com – Youtube 2xClick Solution」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/gdpr-extensions-com-youtube-2clicksolution)

### 对开发感兴趣吗?

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

## 额外信息

 *  版本 **1.0.1**
 *  最后更新：**1 年前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 6.4 或更高版本 **
 *  已测试的最高版本为 **6.8.5**
 *  PHP 版本 ** 8.1 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/gdpr-extensions-com-youtube-2clicksolution/)
 * 标签
 * [embed](https://cn.wordpress.org/plugins/tags/embed/)[GDPR](https://cn.wordpress.org/plugins/tags/gdpr/)
   [privacy](https://cn.wordpress.org/plugins/tags/privacy/)[video](https://cn.wordpress.org/plugins/tags/video/)
   [youtube](https://cn.wordpress.org/plugins/tags/youtube/)
 *  [高级视图](https://cn.wordpress.org/plugins/gdpr-extensions-com-youtube-2clicksolution/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/gdpr-extensions-com-youtube-2clicksolution/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/gdpr-extensions-com-youtube-2clicksolution/reviews/)

## 贡献者

 *   [ GDPR-Extensions.com ](https://profiles.wordpress.org/gdprextensionscom/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/gdpr-extensions-com-youtube-2clicksolution/)