该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Defer Media

描述

Defer Media is a plugin for speed up your website and defer not needed medias which out of the screen when page loaded.
Then, when you scroll down the page, it will load images/videos/iframes automatically or pre-load it even if it it not visible yet (can be adjusted with Appearance Offset parameters).

This plugin will apply the following actions:
– Defer images (standard [img] tag and also [picture] src sets)
– Defer background images (if style=”background-image” applied for some block)
– Defer Videos ([video], [source] tags)
– Defer Youtube embedded videos (iframe)
– Defer any Iframes ([iframe] tag)

You can see plugin demo on this page:
Defer Media demo

屏幕截图

  • Page before Defer Media Plugin applied (checked on Google page Speed Insights).
  • Page with a lot of medias after Defer Media plugin applied.

安装

This section describes how to install the plugin and get it working.

  1. Install the plugin through the WordPress plugins screen or upload the plugin files to the /wp-content/plugins/DeferMedia directory.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Use the Settings->Plugin Name screen to configure the plugin (not needed from the start).

评价

此插件暂无评价。

贡献者及开发者

“Defer Media” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Defer Media”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

Feb 2020

  • Added iframes deferring feature (video embedding via iframe or some another iframe types)

Jan 2020

  • Version 1.0