+ 1

Audio controls with multiple src shows one link ?

<audio controls> <source src="http://www.sololearn.com/uploads/audio.mp3" type="audio/mpeg"> <source src="http://www.sololearn.com/uploads/audio.ogg" type="audio/ogg"> <source src="http://www.sololearn.com/rgg.ogg" type="audio/ogg"> </audio> for this code. it shows me only audio file. why is it so?

6th Feb 2018, 7:21 PM
Amjath k
Amjath k - avatar
1 Resposta
+ 3
Because you have mentioned only audio controls with audio files in ogg format.... If you want to add video in it you can take help from my given code.... I have mentioned.. comment for video controls in my code..... Here is my code... https://code.sololearn.com/Wkg3bxQSIAQO/?ref=app
7th Feb 2018, 5:22 PM
Vishal Sharma
Vishal Sharma - avatar