I want to use code to make my site load YouTube Embeds faster. The code displays the thumbnail of a YouTube video and only when you click the thumbnail the video player will load. This is handy because YouTube embeds are big and slow your page down. And this way you only load the video player when you are really going to watch the video.
I want to use the code to embed YouTube playlists instead of single videos. But the problem i have, is that i cannot find a way to automatically display the last thumbnail of the playlist. So the thumbnail of the video that was last added to the playlist. I did manage to display the playlist when you click the (default) thumbnail so that is no problem anymore.
Does anybody have any suggestions about how to display the latest thumbnail?
I would be very grateful.
I will share a source code with shortlisted candidates
Also i found a second piece of code that does the same thing, i made changes on HTML line 1 and JS line 21.
I am only just a simple Wordpress user so please forgive me if i made any mistakes in explaining.
Thank You.
About the recuiterMember since May 20, 2018 Jonathan Gillha
from Echternach, Luxembourg