Automatically replace embed videos everywhere with their thumbnail to reduce page load time and improve your GTmetrix score.
Activate this plugin and reduce you page weight by nearly 1mo !
Because embed videos can dramatically increase your page weight and loading time, Embed Video Thumbnail
automatically replace them by their corresponding thumbnail. Videos will then only be loaded after click on thumbnails.
This plugin fixes part of the following “defer parsing of javascript” error in GTmetrix :
xxxx MiB of JavaScript is parsed during initial page load. Defer parsing JavaScript to reduce blocking of page rendering.
Currently supported video hosting services :
Optional settings :
Widget :
You can use our Embed Video Thumbnail widget to transform your videos in sidebars.
Custom hosting services can be added with the ikevt_extension_providers
hook.
Each hosting service extension must implement Ikana\EmbedVideoThumbnail\Provider\ProviderInterface
Requirements :
/wp-content/plugins/
directory, or install the plugin through the WordPress plugins screen directly.Unfortunately, Embed Video Thumbnail can automatically replace your embed video ONLY in your posts and pages body.
If you need to trigger video replacement in custom locations on your website, you can use the following filter :
echo apply_filters(‘ikevt_video_to_thumbnail’, ‘https://www.youtube.com/watch?v=uGlpPcCEd8g’);
You can also use our widget to transform videos in sidebars.
Make sure allow_url_fopen
option is enabled in your php.ini, and php-curl
extension is installed and active.