PHPackages                             roy-bongers/youtube-oembed-lazy-load - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. roy-bongers/youtube-oembed-lazy-load

AbandonedArchivedWordpress-plugin[Utility &amp; Helpers](/categories/utility)

roy-bongers/youtube-oembed-lazy-load
====================================

WordPress plugin to Lazy Load YouTube video's in order to save bandwidth.

v1.0.2(6y ago)3304[5 PRs](https://github.com/roy-bongers/youtube-oembed-lazy-load/pulls)GPL-3.0-or-laterPHPPHP &gt;=5.6.0

Since Dec 30Pushed 3y ago1 watchersCompare

[ Source](https://github.com/roy-bongers/youtube-oembed-lazy-load)[ Packagist](https://packagist.org/packages/roy-bongers/youtube-oembed-lazy-load)[ Docs](http://github.com/roy-bongers/youtube-oembed-lazy-load)[ RSS](/packages/roy-bongers-youtube-oembed-lazy-load/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (1)Versions (9)Used By (0)

YouTube oEmbed Lazy Load
========================

[](#youtube-oembed-lazy-load)

This WordPress plugin replaces the default YouTube embed with a still (image) from the video and a play button instead of embedding the whole iframe. Only the image will be downloaded instead of the entire YouTube iframe (around 600kB). This makes your page render a lot faster which is especially important on mobile devices. When the play button is clicked the iframe will be loaded and the video wil start auto-playing (for mobile, see [known issues](#known-issues)).

Usage
-----

[](#usage)

Use the default WordPress embed shortcode. The video will automatically be embeded with a still instead of the original iframe.

`[embed]https://www.youtube.com/watch?v=dQw4w9WgXcQ[/embed]`

Requirements
------------

[](#requirements)

- PHP &gt;= 5.6 with php-xml module.
- WordPress with the classic-editor plugin installed and activated.

Installation
------------

[](#installation)

Using composer simply execute: `composer require 'roy-bongers/youtube-oembed-lazy-load:*'`

Known issues
------------

[](#known-issues)

### Gutenberg support

[](#gutenberg-support)

The plugin only works with the [Classic editor](https://wordpress.org/plugins/classic-editor/) and not with the new Gutenberg editor. I'm not planning to add support for Gutenberg. If you want to add support for Gutenberg please fork the project.

### Autoplay on mobile

[](#autoplay-on-mobile)

Google Chrome and other browsers are blocking autoplay on mobile devices unless they are muted. The plugin tries to play the video with audio. If this fails the video will start muted.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 69.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~225 days

Total

3

Last Release

2240d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3999724251d0a6f6e53abe1c5d24cd3da1cf0a8e8dfac5b6045106ede196ddf9?d=identicon)[rbongers](/maintainers/rbongers)

---

Top Contributors

[![roy-bongers](https://avatars.githubusercontent.com/u/10220797?v=4)](https://github.com/roy-bongers "roy-bongers (23 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (10 commits)")

---

Tags

pluginwordpressyoutubelazyload

### Embed Badge

![Health badge](/badges/roy-bongers-youtube-oembed-lazy-load/health.svg)

```
[![Health](https://phpackages.com/badges/roy-bongers-youtube-oembed-lazy-load/health.svg)](https://phpackages.com/packages/roy-bongers-youtube-oembed-lazy-load)
```

###  Alternatives

[iceicetimmy/acf-post-type-selector

Post type selector for Advanced Custom Fields.

559.0k](/packages/iceicetimmy-acf-post-type-selector)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
