Title: YEP: Optimize YouTube Embeds
Author: Webamator
Published: <strong>2019-06-03</strong>
Last modified: 2026-05-22

---

Szukaj wtyczek

![](https://ps.w.org/yep-youtube-embed/assets/banner-772x250.png?rev=2099528)

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

# YEP: Optimize YouTube Embeds

 Autor: [Webamator](https://profiles.wordpress.org/webamator/)

[Pobierz](https://downloads.wordpress.org/plugin/yep-youtube-embed.1.1.3.zip)

 * [Szczegóły](https://pl.wordpress.org/plugins/yep-youtube-embed/#description)
 * [Recenzje](https://pl.wordpress.org/plugins/yep-youtube-embed/#reviews)
 *  [Instalacja](https://pl.wordpress.org/plugins/yep-youtube-embed/#installation)
 * [Rozwój](https://pl.wordpress.org/plugins/yep-youtube-embed/#developers)

 [Wsparcie](https://wordpress.org/support/plugin/yep-youtube-embed/)

## Opis

YouTube iframe embeds often load many unnecessary resources, which slows down your
page. YEP: Optimize YouTube Embeds is a lightweight WordPress plugin that replaces
YouTube iframes with a clickable preview image.
 The actual video loads only when
the user clicks the play button, improving page load times and reducing initial 
page size.

### External services

This plugin uses the external YouTube thumbnail service (https://i.ytimg.com) to
display preview images of YouTube videos.
 When a page with a YouTube embed is loaded,
the plugin requests the thumbnail image directly from YouTube servers. No personal
data is sent from your site to YouTube, only the video ID (already public in the
YouTube URL).

Privacy Policy: https://policies.google.com/privacy
 Terms of Service: https://www.
youtube.com/t/terms

## Zrzuty ekranu

[⌊screenshot-1.png - Plugin settings page in WordPress admin.⌉⌊screenshot-1.png -
Plugin settings page in WordPress admin.⌉[

screenshot-1.png – Plugin settings page in WordPress admin.

[⌊screenshot-2.png - Example of a YouTube embed before and after the plugin.⌉⌊screenshot-
2.png - Example of a YouTube embed before and after the plugin.⌉[

screenshot-2.png – Example of a YouTube embed before and after the plugin.

## Instalacja

Installation via WP Dashboard is very easy. Just use the 'Plugins’ -> 'Add New’ 
screen, put „YEP: Optimize YouTube Embeds” in the search form and click „Install
Now”. Manual installation via FTP is very straightforward as well: 1. Upload the
plugin files to the /wp-content/plugins/ directory. 2. Activate the plugin through
the 'Plugins’ screen in WordPress. 3. Use the 'Settings’ -> 'YouTube Embed’ menu
to change default options. 4.1 Just insert Youtube URL in post (example https://
www.youtube.com/watch?v=5Fv19KVVya8) 4.2 Or use shortcode (example [yep_youtube 
width=”XXX” height=”XXX” nocookie=”0″ controls=”1″ start=”03:45″]5Fv19KVVya8[/yep_youtube])

## Najczęściej zadawane pytania

### Does this plugin guarantee a 100% Google PageSpeed score?

This plugin only improves PageSpeed for pages with YouTube videos. If your page 
already scores 100% without videos, this plugin will maintain that score. Remember,
to achieve 100% you need a fast theme, proper caching, image optimization, and other
performance tweaks.

### Is this plugin responsive?

Yes. By default (shortcodes without „width” and „height” attributes) it is responsive.

### Can I contribute translations for this plugin?

Yes. You can contribute via the [plugin page on my blog](https://www.helper-wp.com/plugins/youtube-embed-plugin-wordpress/)
or [create a new topic on the wordpress.org forum](https://wordpress.org/support/plugin/yep-youtube-embed/)
or [help improve the translation](https://translate.wordpress.org/projects/wp-plugins/yep-youtube-embed/).

### I found a bug

Please report it via the [Plugin page on my blog](https://www.helper-wp.com/plugins/youtube-embed-plugin-wordpress/),
[leave a comment in a post about YEP: Optimize YouTube Embeds](https://wordpress.org/plugins/yep-youtube-embed/)
or [create a new topic on the wordpress.org forum](https://wordpress.org/support/plugin/yep-youtube-embed/).

### I would like a feature added

You can contact me. You can use the [Plugin page on my blog](https://www.helper-wp.com/plugins/youtube-embed-plugin-wordpress/).
If you wish some premium feature, you can [hire me on Upwork](https://www.upwork.com/freelancers/~01be316f1125fbe965).
In this case mark your message please, for example „premium YEP for WP”.

### I want to help

 * Report any bugs you find
 * [Confirm compatibility with your WP version on wordpress.org](https://wordpress.org/plugins/yep-youtube-embed/)
 * [Rate the plugin on wordpress.org](https://wordpress.org/plugins/yep-youtube-embed/)
 * [Help improve translations](https://translate.wordpress.org/projects/wp-plugins/yep-youtube-embed/)

## Recenzje

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

### 󠀁[Top plugin!](https://wordpress.org/support/topic/top-plugin-295/)󠁿

 [ncschulze](https://profiles.wordpress.org/ncschulze/) 2021-02-03

Useful plugin to help the website get good Google Pagespeed despite embedded Youtube
videos.

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

### 󠀁[Best Youtube Embed ever](https://wordpress.org/support/topic/best-youtube-embed-ever/)󠁿

 [windantara](https://profiles.wordpress.org/windantara/) 2020-05-22

i hope you always update if needed

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

### 󠀁[Awesome, it did the trick in the best way](https://wordpress.org/support/topic/awesome-it-did-the-trick-in-the-best-way/)󠁿

 [alaaalshamey](https://profiles.wordpress.org/alaaalshamey/) 2020-04-14

Awesome, it did the trick in the best way

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

### 󠀁[Awesome and simple plugin that gets the job done!](https://wordpress.org/support/topic/awesome-and-simple-plugin-that-gets-the-job-done/)󠁿

 [artembychkov](https://profiles.wordpress.org/artembychkov/) 2019-09-09

This cute little plugin solved my issue with Google PageSpeed for all pages that
have YouTube videos! Get 98-100 performance scores now!

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

### 󠀁[This plugin works better than WP YouTube Lyte](https://wordpress.org/support/topic/this-plugin-works-better-than-wp-youtube-lyte/)󠁿

 [baksteendegeweldige](https://profiles.wordpress.org/baksteendegeweldige/) 2019-
08-09

This plugin does it job better than WP YouTube Lyte. If you use WP YouTube Lyte,
Google pagespeed says you need to remove or defer the youtube css www-player-sprite-
mode… If you use this plugin everything runs smooth. If you use autoptimize together
with this plugin you need to exclude yep.js from being optimized by autoptimize

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

### 󠀁[„5 stars”](https://wordpress.org/support/topic/5-stars-343/)󠁿

 [svetlanadoroshina](https://profiles.wordpress.org/svetlanadoroshina/) 2019-07-
12

Real helpfull. Thank you!

 [ Przeczytaj 6 recenzji ](https://wordpress.org/support/plugin/yep-youtube-embed/reviews/)

## Kontrybutorzy i deweloperzy

„YEP: Optimize YouTube Embeds” jest oprogramowaniem open source. Poniższe osoby 
miały wkład w rozwój wtyczki.

Zaangażowani

 *   [ Webamator ](https://profiles.wordpress.org/webamator/)

Wtyczka „YEP: Optimize YouTube Embeds” została przetłumaczona na 2 języki. Podziękuj
[tłumaczom](https://translate.wordpress.org/projects/wp-plugins/yep-youtube-embed/contributors)
za ich wkład.

[Przetłumacz wtyczkę “YEP: Optimize YouTube Embeds” na swój język.](https://translate.wordpress.org/projects/wp-plugins/yep-youtube-embed)

### Interesuje cię rozwój wtyczki?

[Przeglądaj kod](https://plugins.trac.wordpress.org/browser/yep-youtube-embed/),
sprawdź [repozytorium SVN](https://plugins.svn.wordpress.org/yep-youtube-embed/)
lub czytaj [dziennik rozwoju](https://plugins.trac.wordpress.org/log/yep-youtube-embed/)
przez [RSS](https://plugins.trac.wordpress.org/log/yep-youtube-embed/?limit=100&mode=stop_on_copy&format=rss).

## Rejestr zmian

#### 1.1.3

 * NEW: tested for WP 7.0
 * IMPROVED: plugin settings

#### 1.1.2

 * NEW: added support for alt and title attributes in the shortcode (applied to 
   the preview image).

#### 1.1.1

 * FIX: minor fixes and improvements (e.g., better handling of old embeds)
 * IMPROVED: compatibility checks and admin notices

#### 1.1.0

 * NEW: tested for WP 6.8
 * NEW: Gutenberg compatibility
 * IMPROVED: Enhanced sanitization and escaping for improved security
 * IMPROVED: Refactored code for better performance and readability
 * SECURITY: Enhanced sanitization and escaping for safer output.

#### 1.0.4

 * NEW: tested for WP 5.3.2
 * FIX: rename classes and translations

#### 1.0.3

 * Solved small JS issue (addEventListener).

#### 1.0.2

 * Added shortcode.

#### 1.0.1

 * Write simple plugin.

## Meta

 *  Wersja **1.1.3**
 *  Ostatnia aktualizacja **6 miesięcy temu**
 *  Włączone instalacje **70+**
 *  Wersja WordPressa ** 6.0 lub nowszej **
 *  Testowano do **7.0.8**
 *  Wersja PHP ** 7.4 lub nowszej **
 *  Języki
 * [English (US)](https://wordpress.org/plugins/yep-youtube-embed/), [Russian](https://ru.wordpress.org/plugins/yep-youtube-embed/),
   i [Ukrainian](https://uk.wordpress.org/plugins/yep-youtube-embed/).
 *  [Przetłumacz na swój język](https://translate.wordpress.org/projects/wp-plugins/yep-youtube-embed)
 * Tagi
 * [lazy load](https://pl.wordpress.org/plugins/tags/lazy-load/)[Optimize](https://pl.wordpress.org/plugins/tags/optimize/)
   [performance](https://pl.wordpress.org/plugins/tags/performance/)[video](https://pl.wordpress.org/plugins/tags/video/)
   [YouTube embed](https://pl.wordpress.org/plugins/tags/youtube-embed/)
 *  [Widok zaawansowany](https://pl.wordpress.org/plugins/yep-youtube-embed/advanced/)

## Oceny

 5 na 5 gwiazdek.

 *  [  6 recenzji 5-gwiazdkowych     ](https://wordpress.org/support/plugin/yep-youtube-embed/reviews/?filter=5)
 *  [  0 recenzji 4-gwiazdkowych     ](https://wordpress.org/support/plugin/yep-youtube-embed/reviews/?filter=4)
 *  [  0 recenzji 3-gwiazdkowych     ](https://wordpress.org/support/plugin/yep-youtube-embed/reviews/?filter=3)
 *  [  0 recenzji 2-gwiazdkowych     ](https://wordpress.org/support/plugin/yep-youtube-embed/reviews/?filter=2)
 *  [  0 recenzji 1-gwiazdkowych     ](https://wordpress.org/support/plugin/yep-youtube-embed/reviews/?filter=1)

[Twoja opinia](https://wordpress.org/support/plugin/yep-youtube-embed/reviews/#new-post)

[Zobacz wszystkierecenzje.](https://wordpress.org/support/plugin/yep-youtube-embed/reviews/)

## Zaangażowani

 *   [ Webamator ](https://profiles.wordpress.org/webamator/)

## Wsparcie

Masz coś do dodania? Potrzebujesz pomocy?

 [Zobacz forum wsparcia](https://wordpress.org/support/plugin/yep-youtube-embed/)

## Złóż datek

Czy chcesz wesprzeć rozwój wtyczki?

 [ Wspomóż wtyczkę ](https://www.paypal.com/donate/?hosted_button_id=E3PFX4WXM3BMN)