Audio on web browser compatibility | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Audio on web browser compatibility

Wandering why the line "not supported by web browser" is in the code. It runs the audio if you try it. <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"> Audio element not supported by your browser. </audio>

9th Feb 2019, 6:01 PM
Cory
Cory - avatar
3 Answers
+ 6
In case it doesn't work, the message appears.
9th Feb 2019, 6:32 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 3
//Nicely Explained on audio lesson https://www.sololearn.com/learn/HTML/2193/
9th Feb 2019, 6:40 PM
Sudarshan Rai
Sudarshan Rai - avatar
0
Thanks!
10th Feb 2019, 9:22 PM
Cory
Cory - avatar