跳到内容

Lazy Embed

v1.6.3

beleaf · 2023年2月2日 上架

Improves the performance and reduces the emissions of your website by only loading embeds (youtube, vimeo, etc) when they are clicked.

正在使用
90+
评分
5.0 / 5
累计下载
3,695
最近更新
2024年5月22日
2 条评价需要 WordPress 6.2.0+已测试到 6.5.15PHP 7.1+

贡献者

Videos are one of the largest assets that can be loaded on a webpage, and as such are one of the largest contributors to slow performance and high carbon emissions.

In fact, adding a Youtube embed to a page using the latest default WordPress theme, increased the page transfer size from 21 kb to 973 kb, and loaded an additional 27 resources. That’s an increase in transfer size of 4533%. Adding a Vimeo video increased the transfer from 21 kb to 276 kb, an increase in transfer size of 1214%, and loaded an additional 7 resources.

The Lazy Embed plugin defers the loading of any resource required for playing the video until the video is requested to be played. It does this by adding a srcdoc attribute to the iframe which shows in place of the normal iframe content.

Currently the following third parties are supported

  • Youtube
  • Vimeo
  • Dailymotion

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums