puredazzle/wp-lite-youtube-embed
最新稳定版本:v1.1.1
Composer 安装命令:
composer require puredazzle/wp-lite-youtube-embed
包简介
A WordPress plugin for displaying YouTube videos in a lightweight and responsive way.
README 文档
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.5+
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
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-06-05