Youtube oEmbed support
Youtube supports oEmbed format. This means we can easily fetch information about a video, such as its thumbnail image, HTML for embedding, title etc. without having to use Youtube API or scraping the Youtube page. You can reach oEmbed API at:
https://www.youtube.com/oembed?url=YOUTUBE_URL
It returns a JSON filled with metadata. You can explore the oEmbed response yourself using the demo below.
Demo
Paste in a url and click fetch to inspect an oembed json for a Youtube video.