responsive-video-poster
responsive-video-poster copied to clipboard
Custom video placeholder with lazy load for better performance
Responsive Video Poster
Custom video placeholder with lazy load for better performance
Full styling control of video placeholders with an image/picture used for the poster which allows the use of src-set. Videos and embeds are lazy loaded to reduce page load and embeds are prefetched on user interaction to improve performance.
Demo and documentation
Quick start
$ npm install responsive-video-poster --save-dev
Import the JS and CSS into your project, add the elements to your HTML and initialize the plugin if needed.
License
MIT © Nigel O Toole