A faster youtube embed.
Lite YouTube Embed
Renders faster than a sneeze.
Provide videos with a supercharged focus on visual performance.This custom element renders just like the real thing but approximately 224X faster.
YouTube embed |
lite-youtube ||—|—|| | |
To use the custom embed you will need to:
- Include the stylesheet within your application
- Include the script as well
- Use the element
lite-youtubemarkup and scripting
- Be happy that you’re providing a better user experience to your visitors
Use this as your HTML, load the script asynchronously, and let the JS progressively enhance it.
More coming soon.
To restore the repository download the bundle
git clone paulirish-lite-youtube-embed_-_2019-11-22_09-40-47.bundle