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...

16th Jul 2017, 9:44 AM
Otumian Empire
Otumian Empire - avatar
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" >
16th Jul 2017, 10:20 AM
Apoorva Shenoy Nayak
Apoorva Shenoy Nayak - avatar
+ 2
by playlist you mean multiple songs playing one after one?
16th Jul 2017, 10:15 AM
mexikodro thanksgiving samples 1/1
mexikodro thanksgiving samples 1/1 - avatar
+ 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.
16th Jul 2017, 10:22 AM
Limitless
Limitless - avatar
+ 1
Here's what you need :D Special thanks to Maz for the help https://code.sololearn.com/W33wBgNJ2Wz7/?ref=app
16th Jul 2017, 3:25 PM
Limitless
Limitless - avatar
0
@limitless, would you know how?
16th Jul 2017, 11:34 AM
Otumian Empire
Otumian Empire - avatar