Alternative of youtube api
If you don’t want to use the YouTube API, you can use an npm package like "ytdl-core" to fetch YouTube video details.
Steps to Implement:
  • Install the package
like:) npm install ytdl-core
  • Create a getYoutubeVideoDetails server action
  • Import ytdl-core and pass the video ID to retrieve video details.
0
0 comments
Manoj Kumar
3
Alternative of youtube api
University of Code
skool.com/universityofcode
You'll get Exclusive Lessons & Content, Badass Community Support & More here to elevate as a Dev!
Leaderboard (30-day)
Powered by