Can anyone tell me why two source type used in <audio> & <video> tag. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can anyone tell me why two source type used in <audio> & <video> tag.

This question am i asking from html 5 pls answer me quickly..

1st May 2020, 6:53 AM
Yuvr@j Singh
Yuvr@j Singh - avatar
2 Answers
+ 5
"Another aspect that the audio and video elements have in common is that the major browsers do not all support the same file types. If the browser does not support the first video type, it will try the next one." --CopyPasted from HTML tutorial
1st May 2020, 6:58 AM
Kevin ★
1st May 2020, 6:59 AM
Abhay
Abhay - avatar