08.07.2018, 05:53
As the song name is being part of the link.
You would make an array which contains song names [ static way ] or you make the song dir not including index file and sending request from server to your host and getting the available songs list [ dynamic way ]
80% of the url is predefined just append song name with format in it and play.
Anyway... Its 2k18 bruh, I've wrote api to play song by its name or youtube url... [ thanks to youtubemp3api.com and youtubetoany.com ]
[ I may share it here if you want ]
You would make an array which contains song names [ static way ] or you make the song dir not including index file and sending request from server to your host and getting the available songs list [ dynamic way ]
80% of the url is predefined just append song name with format in it and play.
Anyway... Its 2k18 bruh, I've wrote api to play song by its name or youtube url... [ thanks to youtubemp3api.com and youtubetoany.com ]
[ I may share it here if you want ]