Title: Privacy Lite Video Embeds for YouTube
Author: Arno Peck
Published: <strong>14 Tháng 6, 2026</strong>
Last modified: 3 Tháng 11, 2026

---

Tìm kiếm plugin

![](https://ps.w.org/privacy-lite-video-embeds/assets/banner-772x250.png?rev=3571745)

![](https://ps.w.org/privacy-lite-video-embeds/assets/icon-256x256.png?rev=3571745)

# Privacy Lite Video Embeds for YouTube

 Bởi [Arno Peck](https://profiles.wordpress.org/arnopeck/)

[Tải về](https://downloads.wordpress.org/plugin/privacy-lite-video-embeds.1.0.5.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/privacy-lite-video-embeds/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/privacy-lite-video-embeds/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/privacy-lite-video-embeds/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/privacy-lite-video-embeds/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/privacy-lite-video-embeds/)

## Mô tả

Privacy Lite Video Embeds for YouTube replaces YouTube embeds with lightweight local
placeholders.

Fast video embeds for YouTube. Nothing loads until click.

Trademark note: this is a third-party plugin and is not affiliated with, endorsed
by, or sponsored by YouTube or Google.

Before the visitor clicks, the frontend loads only local resources from the site:

 * local HTML markup;
 * local CSS from the plugin;
 * local JavaScript from the plugin;
 * locally cached video thumbnail, when available.

The YouTube player is created only after user interaction and uses the privacy-enhanced`
youtube-nocookie.com` embed domain.

This can help reduce external frontend requests, improve perceived loading performance,
and provide a more privacy-friendly default behavior for embedded YouTube videos.

Important: this plugin is a technical privacy/performance aid. It does not constitute
legal advice and does not by itself guarantee compliance with privacy laws. Site
owners remain responsible for their own privacy notices, consent setup, and legal
assessment.

#### Main features

 * Replaces Gutenberg YouTube embed blocks.
 * Optional replacement scope for all YouTube videos found in post content.
 * Replaces classic oEmbed output when scope is set to “All”.
 * Replaces manually pasted YouTube iframes when scope is set to “All”.
 * Downloads YouTube thumbnails server-side, in the background, into the WordPress
   uploads directory. Downloads never block visitor page loads.
 * Serves thumbnails locally from `/wp-content/uploads/privacy-lite-video-embeds/`.
 * Falls back to a local CSS placeholder when no thumbnail can be downloaded.
 * Loads YouTube only after click.
 * Uses `youtube-nocookie.com` for the iframe player.
 * Optional privacy/consent text in the placeholder.
 * Optional autoplay after click.
 * Customizable overlay play button color.
 * Accessible button markup with keyboard support.
 * Admin tool to scan content and generate missing thumbnails.
 * Admin tool to clear the local thumbnail cache.
 * Privacy policy helper text for the WordPress privacy tools.

## Ảnh màn hình

[⌊Plugin settings page with privacy behavior notes, replacement options, play button
color and thumbnail tools.⌉⌊Plugin settings page with privacy behavior notes, replacement
options, play button color and thumbnail tools.⌉[

Plugin settings page with privacy behavior notes, replacement options, play button
color and thumbnail tools.

[⌊Frontend YouTube placeholder before click, using a local thumbnail and customizable
play button.⌉⌊Frontend YouTube placeholder before click, using a local thumbnail
and customizable play button.⌉[

Frontend YouTube placeholder before click, using a local thumbnail and customizable
play button.

## Cài đặt

 1. Upload the plugin folder to `/wp-content/plugins/privacy-lite-video-embeds/`, or
    install it from the WordPress plugin screen when available.
 2. Activate **Privacy Lite Video Embeds for YouTube**.
 3. Go to **Settings > Privacy Lite Video**.
 4. Choose the replacement scope and placeholder options.
 5. For existing sites, run **Scan content and generate missing thumbnails** from the
    settings page.

## Hỏi đáp

### Does this plugin call external services?

Yes, because the plugin works with YouTube embeds.

The plugin may contact `img.youtube.com` server-side to download and cache video
thumbnails locally in the WordPress uploads directory. This happens from the website
server, not from the visitor browser.

The visitor browser loads the YouTube player only after the visitor clicks the local
placeholder. After click, the iframe is created using the privacy-enhanced `youtube-
nocookie.com` embed domain.

No account or API key is required.

### Does the visitor browser load YouTube before click?

The plugin is designed so that the frontend placeholder uses local HTML, CSS, JavaScript
and locally cached thumbnails. The YouTube iframe is created only after the visitor
clicks the placeholder.

### Are YouTube thumbnails loaded from YouTube in the frontend?

No. The plugin downloads thumbnails server-side and saves them locally in the WordPress
uploads directory. The frontend uses the local copy.

### Does the server contact YouTube?

Yes, the server may contact `img.youtube.com` to download and cache thumbnails locally.
This is done server-side, not in the visitor browser.

### Does this guarantee GDPR compliance?

No plugin can guarantee legal compliance on its own. This plugin avoids loading 
YouTube resources in the visitor browser before interaction, but site owners should
still review their privacy notice, cookie/consent setup, and legal obligations.

### Is this an official YouTube or Google plugin?

No. This is a third-party plugin and is not affiliated with YouTube or Google.

### Which YouTube embed domain is used after click?

After click, the plugin creates an iframe using `https://www.youtube-nocookie.com/
embed/VIDEO_ID`.

### Can I replace only Gutenberg YouTube blocks?

Yes. The settings page includes a replacement scope option:

 * Only Gutenberg YouTube embed blocks
 * All YouTube videos found in content

### Can I change the play button color?

Yes. The settings page includes a color picker for the overlay play button shown
before the video is loaded.

### What happens if a thumbnail cannot be downloaded?

The plugin displays a local CSS fallback placeholder. Failed thumbnail download 
attempts are cached for 12 hours to avoid repeated server-side requests.

### When are thumbnails downloaded?

In the background, never during a visitor page load. When a placeholder is rendered
without a cached thumbnail, it shows the CSS fallback and the thumbnail is fetched
server-side via a same-site AJAX request, then appears automatically. Saving a post
schedules missing thumbnails for background generation via WordPress cron. The admin
scan tool also generates thumbnails.

### How do I test the privacy behavior?

Open a page containing a YouTube embed and use your browser DevTools.

 1. Open DevTools > Network.
 2. Reload the page.
 3. Before clicking the placeholder, check that this plugin has not initiated third-
    party video player requests from the visitor browser.
 4. Click the placeholder.
 5. Confirm that the iframe is created and loads from `youtube-nocookie.com`.

## Đánh giá

Không có đánh giá nào cho plugin này.

## Người đóng góp & Lập trình viên

“Privacy Lite Video Embeds for YouTube” là mã nguồn mở. Những người sau đã đóng 
góp vào plugin này.

Những người đóng góp

 *   [ Arno Peck ](https://profiles.wordpress.org/arnopeck/)

[Dịch “Privacy Lite Video Embeds for YouTube” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/privacy-lite-video-embeds)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/privacy-lite-video-embeds/),
check out [SVN repository](https://plugins.svn.wordpress.org/privacy-lite-video-embeds/),
hoặc theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/privacy-lite-video-embeds/)
qua [RSS](https://plugins.trac.wordpress.org/log/privacy-lite-video-embeds/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 1.0.5

 * Deferred player insertion until click handlers finish, fixing keyboard activation
   alongside Lightbox PhotoSwipe.

#### 1.0.4

 * Recognize valid iframe attribute spacing, unquoted sources, and fallback content.
 * Validate YouTube URL hosts and paths before replacing embeds or collecting thumbnail
   IDs.
 * Recover missing thumbnail images from cached pages after the thumbnail cache 
   is cleared.
 * Queue save-time thumbnail downloads in WordPress cron without delaying post saves.
 * Clean every site in large multisite networks and remove scheduled thumbnail jobs
   on uninstall.

#### 1.0.3

 * Preserved original embeds in feeds, Gutenberg captions, and video start times.
 * Signed thumbnail requests remain valid when pages are cached for longer than 
   a day.

#### 1.0.2

 * Prevented a fatal error when background content processing invokes the oEmbed
   filter without a post ID.
 * Stored settings are normalized before use so malformed or externally filtered
   values fall back safely.

#### 1.0.1

 * Missing thumbnails are now downloaded in the background after the page has rendered,
   so a cold thumbnail cache never slows down visitor page loads.
 * The content scanner now continues from where the previous run stopped, so repeated
   runs can process sites with more than 50 posts.
 * Internal cleanup.

#### 1.0.0

 * Initial plugin implementation.

## Meta

 *  Phiên bản **1.0.5**
 *  Cập nhật lần cuối **2 tuần trước**
 *  Số lượt cài đặt **20+**
 *  Phiên bản WordPress ** 6.0 hoặc cao hơn **
 *  Đã kiểm tra lên đến **7.1.4**
 *  Phiên bản PHP ** 7.4 hoặc cao hơn **
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/privacy-lite-video-embeds/)
 * Thẻ
 * [Embeds](https://vi.wordpress.org/plugins/tags/embeds/)[lazy load](https://vi.wordpress.org/plugins/tags/lazy-load/)
   [performance](https://vi.wordpress.org/plugins/tags/performance/)[privacy](https://vi.wordpress.org/plugins/tags/privacy/)
   [youtube](https://vi.wordpress.org/plugins/tags/youtube/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/privacy-lite-video-embeds/advanced/)

## Đánh giá

Chưa có đánh giá nào được gửi.

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

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/privacy-lite-video-embeds/reviews/)

## Những người đóng góp

 *   [ Arno Peck ](https://profiles.wordpress.org/arnopeck/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/privacy-lite-video-embeds/)

## Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

 [ Ủng hộ plugin này ](https://ko-fi.com/luminescenza)