=== Plugin Name === Tags: embed, video, thumbnail, youtube, vimeo, dailymotion, replace, ikana, ikanaweb, gtmetrix, defer, javascript, parsing, replace, optimize, pagespeed Requires at least: 4.5 Tested up to: 4.9.6 Stable tag: 1.2.3 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Automatically replace embed videos everywhere with their thumbnail to reduce page load time and improve your GTmetrix score. == Description == 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 : * Youtube * Vimeo * Dailymotion Optional settings : * Toggle activation on each hosting services * Toggle activation by device (desktop, tablet, mobile) * Copy thumbnail on local server for performance improvements * Display video title over the thumbnail * Disable autoplay after click on thumbnail * Toggle video loop on Vimeo and Youtube * Import/export settings Custom hosting services can be added with the `ikevt_extension_providers` hook. Each hosting service extension must implement `Ikana\EmbedVideoThumbnail\Provider\ProviderInterface` Requirements : * php 5.3+ == Installation == 1. Upload the plugin files to the `/wp-content/plugins/` directory, or install the plugin through the WordPress plugins screen directly. 2. Activate the plugin through the 'Plugins' screen in WordPress 3. Use the Embed Video Thumbnail submenu in Tools menu in admin panel to configure the plugin == Changelog == = 1.2.3 = * Fix thumbnail position = 1.2.2 = * Add new play button image option = 1.2.1 = * Bug fixes = 1.2.0 = * Add cookie disabling on youtube videos * Add possibility to hide youtube logo and controls * Bug fixes = 1.1.7 = * Fix youtube thumbnail position * Fix plugin settings link = 1.1.6 = * Add alt attribute on thumbnail when video title is enabled * Fix minor bugs = 1.1.5 = * Fix referer restriction error with youtube API = 1.1.4 = * Fix youtube API error = 1.1.3 = * Fix issue where video urls were replaced if inside an href link = 1.1.2 = * Fix minor bugs * Remove redux framework TGM * Add plugin logo in admin settings panel = 1.1.1 = * Add en_GB, en_CA and en_AU translations = 1.1.0 = * Add settings link on plugins page * Add thumbnail copy on local server * Add activation toggle by device = 1.0.0 = * Stable release