HTML 5 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

HTML 5

Why does it show only one video file after I run this code as here there are two sources? <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>

23rd May 2018, 7:41 PM
Pavel
1 Answer
+ 3
multiple <source> dont mean that browser play they... Browser try to play the first one, if it cant do it try next one and so on
23rd May 2018, 7:48 PM
KrOW
KrOW - avatar