0
Do i put the name of the audio files in the html file or js file when creating an audio playlist?
i want to create a playlist and I don't know where to put the audio name...
5 odpowiedzi
+ 4
You can embed it in html itself as list and retrieve it through Javascript. Later on, you can control volume too.
<source src="horse.mp3" type="audio/mpeg" >
+ 2
by playlist you mean multiple songs playing one after one?
+ 1
You can store them in an array in Javascript then replace the source tag's src with the next song.
You just need a way to find out when the song has finished.
+ 1
Here's what you need :D
Special thanks to Maz for the help
https://code.sololearn.com/W33wBgNJ2Wz7/?ref=app
0
@limitless, would you know how?