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.
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: http://extra-speed-blog.webamator.net/yep-for-wordpress-demo/. As you can see on screenshots bellow, demo post with 4 embeds video can improves perfomance almost on 50%:
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 wordpress.org. 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.