How do I add music here in sololearn or from online links | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How do I add music here in sololearn or from online links

<audio class="song" controls> <source src="/music/good_enough.mp3" type="audio/mp3"> </audio> It doesn't work if I pick a song on my local I want to add audio what to I do

20th Jul 2023, 11:58 PM
Indiphile Menziwa
Indiphile Menziwa - avatar
2 Answers
+ 2
Download your music to your dropbox, then paste into your code the link to the dropbox location. The following code gives an example. Give him an upvote & mention him in your code credits if you find his example helpful. https://code.sololearn.com/WV7oBtHaJDfN/?ref=app
21st Jul 2023, 3:25 AM
Rik Wittkopp
Rik Wittkopp - avatar
0
Well that's I already know how to embed YouTube links honestly I'm interested in the audio version of such
21st Jul 2023, 10:52 AM
Indiphile Menziwa
Indiphile Menziwa - avatar