This scripts will help you to add youtube video in your website without loading time. Normally it will load one of the video image at the loaing time of the page which will show the image like youtube video. But originally it's image and icon of youtube. Once people click on the video to play it will load the video. This way you can improve your loading time.
Codepen Link: https://codepen.io/sfaragy/pen/WNjwRBO Author: Md Soliman Faragy Email: solimankhulna@gmail.com Skype: solimanbd4321 Linkedin: https://www.linkedin.com/in/md-soliman-f-b3b3a347/sfaragy/On-click-youtube-video-loading
This scripts will help you to add youtube video in your website without loading time. Normally it will load one of the video image at the loaing time of the page which will show the image like youtube video. But originally it's image and icon of youtube. Once people click on the video to play it will load the video. This way you can improve your loading time
JavaScript