Linux 软件免费装
Banner图

Plugin Name

开发者
更新时间 2020年5月2日 18:08
PHP版本: 4.5 及以上
WordPress版本: 5.4
版权: GPLv2 or later
版权网址: 版权信息

标签

video embed javascript facebook vimeo youtube dailymotion thumbnail optimize replace pagespeed parsing ikana ikanaweb gtmetrix defer

下载

1.3.1 2.0.0 2.0.1 2.0.2 2.0.3 1.1.7 1.2.3 1.3.0

详情介绍:

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 :

安装:

  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

常见问题:

Plugin does not replace embed video everywhere on my website

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.

Thumbnails are not showing

Make sure allow_url_fopen option is enabled in your php.ini, and php-curl extension is installed and active.

更新日志:

2.0.3 2.0.2 2.0.1 2.0.0 1.3.1 1.3.0 1.2.3 1.1.7 1.0.0