It would be great if we could add the URL of a Youtube video to add its thumbnail to the header.
There is no need for an external APIs, just a regex check when you add an URL to get its Youtube ID:
https://www.youtube.com/watch?v=<YOUTUBE-CODE-ID>
become
https://img.youtube.com/vi/<YOUTUBE-CODE-ID>/maxresdefault.jpg
It would be great if we could add the URL of a Youtube video to add its thumbnail to the header.
There is no need for an external APIs, just a regex check when you add an URL to get its Youtube ID:
https://www.youtube.com/watch?v=<YOUTUBE-CODE-ID>become
https://img.youtube.com/vi/<YOUTUBE-CODE-ID>/maxresdefault.jpg