Closed Shashwat-CODING closed 1 month ago
hi bro i just made a html webpage which gets data from youtube music api, display results and play it link=https://scodify236.github.io/scodify/yt.html and one more which i made using jio saavn api link=https://scodify236.github.io/scodify/ check these i also tested ytdl-core, yt-dlp and i found that yt-dlp works perfectly to localhost but when i tried to upload it to netlify or vercel i failed, insted of getting audio from cobal you can use yt-dlp and just give it video id and within seconds you can get get audio stream url i was unable to do because i am a beginner and dont have any knowledge but you can do it you have knowledge use yt-dlp not ytdl-core.
I have already experimented with using yt-dlp 2 years ago in the 5.0 release, https://github.com/n-ce/ytify/tree/ff1be433f0d098a4e5e02c84e7af277ed1730700 due to various reasons I switched to the piped api. If you are interested, you can take a look. Keep in mind you have to proxy the stream through your backend for the user to be able to play it. I don't think vercel or netlify offer this ability.
ya
hi bro i just made a html webpage which gets data from youtube music api, display results and play it link=https://scodify236.github.io/scodify/yt.html and one more which i made using jio saavn api link=https://scodify236.github.io/scodify/ check these i also tested ytdl-core, yt-dlp and i found that yt-dlp works perfectly to localhost but when i tried to upload it to netlify or vercel i failed, insted of getting audio from cobal you can use yt-dlp and just give it video id and within seconds you can get get audio stream url i was unable to do because i am a beginner and dont have any knowledge but you can do it you have knowledge use yt-dlp not ytdl-core.