+ 1

abut <source src> and <audio src>

what's the different between define audio inline with src and <source src="">? I tried both with 2files and none of them support both audios,I defined with an another <audio> and problem solved!!! what's the problem?

18th Sep 2016, 3:55 PM
MOHAMMAD SH
MOHAMMAD SH - avatar
1 Odpowiedź
0
If I have understood correctly, with <source src=""> you can add 2 and more audio formats. If you did everything right, ex.: <audio controls autoplay loop> <source src="yoursong.mp3" type="audio/mp3"> </audio> and your audio files are in the same folder where your html file is, everything must work, try again.
25th Sep 2016, 8:58 AM
Marsel Gizatullin
Marsel Gizatullin - avatar