Why is my KZitem video taking so long to load? Well, if you’ve ever used the standard KZitem embed code, you know it can majorly drag down your webpage speed. This is because KZitem loads a ton of assets whether or not a user plays your video(s). It’s not uncommon to add 3+ seconds of load time for every video on your page.
In this video, I’ll show you how to create a custom embed code that lazy loads by default, has some cool animations for the play button, and loads in a fraction of the time.
Final code pen: codepen.io/Cod...
Blog post with details: chrispenningto...
CSS Tricks article: css-tricks.com...
Feather icons: feathericons.com/
Негізгі бет Тәжірибелік нұсқаулар және стиль Custom Lazy Loading YouTube Embed Code
Пікірлер: 56