A faster vimeo embed.
npm install lite-vimeo-embed> 🙋 Using YouTube? Check out the original lite-youtube-embed.
> 🦾 Need more power? Check out playerx.
> #### 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.
| Normal Vimeo embed | lite-vimeo |
|---|---|
| !Screen Shot 2019-11-03 at 5 23 50 PM !Screen Shot 2019-11-03 at 5 21 05 PM !Screen Shot 2019-11-03 at 5 19 35 PM | !Screen Shot 2019-11-03 at 5 23 27 PM !Screen Shot 2019-11-03 at 5 20 55 PM !Screen Shot 2019-11-03 at 5 20 16 PM |
To use the custom embed you will need to:
1. Include the script
1. Use the element lite-vimeo markup and scripting
1. Be happy that you're providing a better user experience to your visitors
``html
`
Use this as your HTML, load the script asynchronously, and let the JS progressively enhance it.
`html``