+ 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?
1 Answer
+ 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