We'll create fresh WordPress site with Lazy load videos and sticky control installed. You have 20 minutes to test the plugin after that site we'll be deleted.
This plugin improves page load times as it only loads the YouTube videos preview image on page load. And also provides the option/control to make your video sticky to side(top/bottom) of the window if user scroll away from the video viewport.
Features
– Lazy load videos. No need to worry about complex settings.
– Support multiple videos on single page. Plays only one video at a time. The video will pause if you play other video
– Sticky video to bottom/top if you scroll away from the video
– You can also add your own custom styling.
How to?
– Generate shortcode on post/page (WP Editor) by clicking on the icon “LLVASC”. This will show you a popup where you can add your YouTube video ID; Where, “Video ID” is the unique Alphanumeric code present at the end of your YouTube video. For example: https://www.youtube.com/watch?v=iXGoAj7IEys, where the video id is iXGoAj7IEys. After you add your ID click “Ok”, then the shortcode will be added to your content.
– The shortcode it add to your content is: [lazy-load-videos-and-sticky-control id=”Youtube-video-ID”] on your page/posts/postypes. Hence, [lazy-load-videos-and-sticky-control id=”iXGoAj7IEys”] on you content.
– Save/update
– Preview your page. And if you want to adjust some styling you can add your own/custom CSS from the General tab
Demo: https://preview-plugin.web.app/lazy-load-videos-and-sticky-control.html