0

I need help again 😁

How to add music or sound in the compiler of sololearn because a day i see a code that have sounds

30th Aug 2025, 4:26 PM
Gamer 0
Gamer 0 - avatar
5 Answers
+ 1
<video src="url"> or<audio src="url">
31st Aug 2025, 2:23 PM
Yonas Sileshi
Yonas Sileshi - avatar
0
What programming language do you want to use for audio adding? You need writing the audio tag If you're going to use web development. Example: <audio src="https://example.com/audio.mp3" controls>Music title</audio> The src attribute indicates the source of your audio file. Controls shows the audio elements (play/pause).
30th Aug 2025, 4:42 PM
Mila
Mila - avatar
0
You can't add audio in Python or in other programming languages, because you need connecting audio libraries and Sololearn doesn't support them.
30th Aug 2025, 4:46 PM
Mila
Mila - avatar
0
Yonas Sileshi, a better way is to use the <video> <source src=(web URL of the video) type=video/mp4 (or whatever format your video is in)> </video> https://sololearn.com/compiler-playground/W2BOXIJCvH48/?ref=app
31st Aug 2025, 4:54 PM
Luca