+ 1

Can somebody tell me how to put a link inside audio element in html so that it plays the audio.

I'm stuck here for too long. I don't understand that. Do i have to put links like copy the audio or video url and place them in bw audio or video tags??or something else??it's not working

18th Jan 2022, 2:11 PM
Hallucinatory
Hallucinatory - avatar
6 Réponses
+ 1
HTML Course: Lessons 31 and 32. https://code.sololearn.com/WGQCj3ctOM5m/?ref=app
18th Jan 2022, 2:17 PM
CGM
CGM - avatar
+ 1
You should have started with that...The problem is that your link does not go to an audio file, but to a page. You should get the link that only opens the audio file, not a page.
18th Jan 2022, 2:28 PM
CGM
CGM - avatar
+ 1
🙄and how,where to find an audio link 😬😬
18th Jan 2022, 2:30 PM
Hallucinatory
Hallucinatory - avatar
0
I know the format, But what link to paste inside😶 Like let's suppose i want to add a audio file. <audio <source src= "https://gaana.com/song/palat-tera-hero-idhar-hai"></source> </audio> It doesn't play the song?? Thanks,though.
18th Jan 2022, 2:23 PM
Hallucinatory
Hallucinatory - avatar
0
I don't know how on that page, but I think it could be the download link, or else you have to look in the code of the page.
18th Jan 2022, 2:36 PM
CGM
CGM - avatar