https://github.com/mrwweb/enhanced-embed-block
Enhance the default YouTube Embed Block in WordPress to load faster.
https://github.com/mrwweb/enhanced-embed-block
embed wordpress wordpress-block wordpress-plugin youtube
Last synced: 8 months ago
JSON representation
Enhance the default YouTube Embed Block in WordPress to load faster.
- Host: GitHub
- URL: https://github.com/mrwweb/enhanced-embed-block
- Owner: mrwweb
- License: gpl-3.0
- Created: 2024-05-31T15:17:55.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-06-09T17:35:34.000Z (11 months ago)
- Last Synced: 2025-08-19T13:26:06.135Z (8 months ago)
- Topics: embed, wordpress, wordpress-block, wordpress-plugin, youtube
- Language: PHP
- Homepage:
- Size: 901 KB
- Stars: 6
- Watchers: 4
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: changelog.md
- Funding: .github/FUNDING.yml
- License: LICENSE.txt
Awesome Lists containing this project
README
# Enhanced Embed Block for YouTube
A WordPress plugin for better user experience and faster page loads on any page with a YouTube or Vimeo video.
Mark Root-Wiley, [MRW Web Design](https://MRWweb.com)
## What this plugin does
This plugin makes the default WordPress YouTube and Vimeo Embed blocks infinitely better by replacing each video with the [`lite-youtube` custom element](https://github.com/justinribeiro/lite-youtube) or [`lite-vimeo` custom element](https://github.com/cshawaus/lite-vimeo), respectively.
The plugin further improves things by providing a no-JS fallback and ensuring that the video placeholder doesn't cause a layout shift from when the page loads to when the custom element is initialized.
## Open Source Credits
- [`lite-youtube` custom-element](https://github.com/justinribeiro/lite-youtube) by @justinribeiro (MIT License)
- [`lite-vimeo` custom-element](https://github.com/cshawaus/lite-vimeo) by @cshawaus (MIT License)
## See also
`readme.txt`` for the WordPress plugin repository readme