Title: YEP: Optimize YouTube Embeds
Author: Webamator
Published: <strong>3 Giugno 2019</strong>
Last modified: 22 Maggio 2026

---

Ricerca i plugin

![](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

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

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

 * [Dettagli](https://it.wordpress.org/plugins/yep-youtube-embed/#description)
 * [Recensioni](https://it.wordpress.org/plugins/yep-youtube-embed/#reviews)
 *  [Installazione](https://it.wordpress.org/plugins/yep-youtube-embed/#installation)
 * [Sviluppo](https://it.wordpress.org/plugins/yep-youtube-embed/#developers)

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

## Descrizione

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

## Screenshot

[⌊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.

## Installazione

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])

## FAQ

### 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/)

## Recensioni

![](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/) 3 Febbraio 2021

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/) 22 Maggio 2020

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/) 14 Aprile 2020

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/) 9 Settembre 2019

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/) 9 Agosto
2019

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/) 12 Luglio
2019

Real helpfull. Thank you!

 [ Leggi tutte le recensioni di 6 ](https://wordpress.org/support/plugin/yep-youtube-embed/reviews/)

## Contributi e sviluppo

“YEP: Optimize YouTube Embeds” è un software open source. Le persone che hanno contribuito
allo sviluppo di questo plugin sono indicate di seguito.

Collaboratori

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

“YEP: Optimize YouTube Embeds” è stato tradotto in 2 lingue. Grazie a [chi traduce](https://translate.wordpress.org/projects/wp-plugins/yep-youtube-embed/contributors)
per il contributo.

[Traduci “YEP: Optimize YouTube Embeds” nella tua lingua.](https://translate.wordpress.org/projects/wp-plugins/yep-youtube-embed)

### Ti interessa lo sviluppo?

[Esplora il codice](https://plugins.trac.wordpress.org/browser/yep-youtube-embed/)
segui il [repository SVN](https://plugins.svn.wordpress.org/yep-youtube-embed/),
segui il [log delle modifiche](https://plugins.trac.wordpress.org/log/yep-youtube-embed/)
tramite [RSS](https://plugins.trac.wordpress.org/log/yep-youtube-embed/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 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

 *  Versione **1.1.3**
 *  Ultimo aggiornamento **6 mesi fa**
 *  Installazioni attive **70+**
 *  Versione WordPress ** 6.0 o superiore **
 *  Testato fino alla versione **7.0.8**
 *  Versione PHP ** 7.4 o superiore **
 *  Lingue
 * [English (US)](https://wordpress.org/plugins/yep-youtube-embed/), [Russian](https://ru.wordpress.org/plugins/yep-youtube-embed/),
   e [Ukrainian](https://uk.wordpress.org/plugins/yep-youtube-embed/).
 *  [Traduci nella tua lingua](https://translate.wordpress.org/projects/wp-plugins/yep-youtube-embed)
 * Tag
 * [lazy load](https://it.wordpress.org/plugins/tags/lazy-load/)[Optimize](https://it.wordpress.org/plugins/tags/optimize/)
   [performance](https://it.wordpress.org/plugins/tags/performance/)[video](https://it.wordpress.org/plugins/tags/video/)
   [YouTube embed](https://it.wordpress.org/plugins/tags/youtube-embed/)
 *  [Visualizzazione avanzata](https://it.wordpress.org/plugins/yep-youtube-embed/advanced/)

## Valutazioni

 5 su 5 stelle.

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

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

[Vedi tutte le recensioni](https://wordpress.org/support/plugin/yep-youtube-embed/reviews/)

## Collaboratori

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

## Supporto

Hai qualcosa da dire? Ti serve aiuto?

 [Chiedi nel forum di supporto](https://wordpress.org/support/plugin/yep-youtube-embed/)

## Dona

Vuoi supportare lo sviluppo di questo plugin?

 [ Fai una donazione per questo plugin ](https://www.paypal.com/donate/?hosted_button_id=E3PFX4WXM3BMN)