yt-vimeo-thumbnail
v1.3.0
Published
A simple package to get thumbnail of a YouTube video or Vimeo video
Downloads
65
Maintainers
Readme
Get Video Thumbnails
So, I started from the scratch to build that functionality and in a week I was successful. I made the exact thing I wanted.
Get thumbnails easily
Example
YouTube
const { getYouTubeThumbnail } = require("yt-vimeo-thumbnail/dist/youtube/getYouTube");
console.log(getYouTubeThumbnail("https://www.youtube.com/watch?v=gxDYfZzkuKQ&ab_channel=ODXGODXG"));
Vimeo
const { getVimeoThumbnail } = require("yt-vimeo-thumbnail/dist/vimeo/getVimeo");
console.log(getVimeoThumbnail("https://vimeo.com/29951514"));
Or not sure
const { common } = require("yt-vimeo-thumbnail/dist/common/common");
console.log(common("https://vimeo.com/29951514"));