Helper Wordpress

Helper Wordpress

Wordpress can be fast. Very fast. Really :)

Youtube Embed Performance – plugin for WordPress

Youtube Embed Performance – plugin for WordPress

Youtube Embed Performance will improve the performance of your initial page load, especially if there are two or more videos embedded on the same page. I think, it’s no secret that youtube iframe embeds slow down your page load.

Let’s see the popular issue: the default methods for inserting video into a site (using iframe or embed) undoubtedly create many additional requests when the page loads. By embedding videos we request more than just a video file, including JavaScript files, a stylesheet, images, and advertisements. If you consider mobile devices, this amount of JS-code can seriously slow down the site.

Youtube Embed Performance – it very simple plugin for WordPress and it allow solve this issues. It replaces embedded Youtube videos on image and loading videos only when the user clicks on the play button.

Thus It improves page load times and increases your Google PageSpeed Score. On demo site Google Page Speed Result is 53/100 (plugin disabled/plugin enabled).


Important: I use most fast free WordPress Template and it have 100% Google PageSpeed Score. If your theme have less result without video, you will not have 100%. Live Demo: As you can see on screenshots bellow, demo post with 4 embeds video can improves perfomance almost on 50%:


Youtube Embed Plugin disabled
Youtube Embed Plugin disabled
Youtube Embed Plugin enabled
Youtube Embed Plugin enabled


How to use Youtube Embed Performance

It definitely very easy:

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 -> YEP for WordPress menu for change default options.

It`s all, nothing else. After, just insert the URL of Youtube video in editor field. The Youtube Embed Performance has been tested with classic (TinyMCE) editor and with block (Gutenberg) editor and from WordPress 4.8.3 to WordPress 5.2.1. In additional, you can use shortcodes:

Simple shortcode: [yep_youtube]5Fv19KVVya8[/yep_youtube]

Size attributes: [yep_youtube width=”800″ height=”460″]5Fv19KVVya8[/yep_youtube]

Controls disable: [yep_youtube controls=”0″]5Fv19KVVya8[/yep_youtube]

Privacy Enhanced: [yep_youtube nocookie=”0″]5Fv19KVVya8[/yep_youtube]

Start attribute: [yep_youtube start=”92″]5Fv19KVVya8[/yep_youtube]

Start attribute: [yep_youtube start=”01:32″]5Fv19KVVya8[/yep_youtube]

And sure, you can combine all these attributes.

Youtube Embed Performance plugin: download from my site or download from Also you can download my other plugins or hired me for create specific plugin on Upwork. And you have any questions or any ideas – welcome to comments.

If you like this plugin, please click on one of the buttons to share it with your friends. Thank you!

Related posts:

Best image optimizer wordpress

Best image optimizer wordpress

For good speed results of your website without doubt, very important optimize images. Loading image 200 kb – is not the same as loading image 100 kb. Seems [...]

Leave a Reply

Your email address will not be published. Required fields are marked *