+ 2
why are they using 2 source elements in audio element, when i deleted one, it has worked same as before,so why they code 2 times
5 Réponses
+ 15
If the first source doesn't work browser will try the other......
+ 15
If ogg is not supported it'll try the .mp3 .... ~_~
+ 7
the second source is in case the end user for some reason cannot play that source, it's a backup.
+ 1
but it will try mp3 1st bcz it's in 1st source element... right?
0
so why values are change in both... mp3 to ogg and same in other