puredazzle/wp-lite-youtube-embed

A WordPress plugin for displaying YouTube videos in a lightweight and responsive way.

Maintainers

Package info

github.com/puredazzle-org/wp-lite-youtube-embed

Type:wordpress-muplugin

pkg:composer/puredazzle/wp-lite-youtube-embed

Statistics

Installs: 5

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.3 2026-06-05 19:49 UTC

This package is auto-updated.

Last update: 2026-06-05 19:51:22 UTC


README

A WordPress mu-plugin that replaces standard YouTube oEmbed iframes with the lightweight <lite-youtube> custom element for faster page loads.

Requirements

  • PHP 8.2+
  • WordPress 6.1+

Installation

Install via Composer:

composer require puredazzle/wp-lite-youtube-embed

Development

pnpm install
pnpm dev     # Vite dev server on localhost:5174
pnpm build   # Production build to /build

Settings

Navigate to Settings > Lite YouTube Embed in the WordPress admin to clear the oEmbed cache. This forces WordPress to re-fetch all embeds so existing posts pick up the lite player.

Credits

This plugin uses lite-youtube-embed by Paul Irish.

License

MIT