Audio | Sololearn: Learn to code for FREE!

0

Audio

Hello Which is of differnce between 2 codes and why to take the one and not the other one Thank you

11/18/2018 6:40:24 PM

Axelle

9 Answers

New Answer

+3

Hey Genier ! As it's currently a little difficult to understand what your question is, could you try clarifying a bit what you need help with? https://www.sololearn.com/discuss/333866/?ref=app

+2

You need to explain your question with greater detail. What 2 codes? Taking what over the other? - I will give you time to respond before marking

0

https://code.sololearn.com/WUMn8KKiMY0x/?ref=app

0

https://code.sololearn.com/WSqGZFNc56Y3/?ref=app

0

it’s 2 differents codes with the same result and the code where there is 2 source, the result have just 1 audio

0

Why the audio control has 2 source ? It because sometimes browser doesnt support the audio format, the second source are there as a backup if the first one cant be played by browser

0

OK I thought that it was one other audio, it is necessary to put in it absolutely 2 as in the example if the browser does not read it or it is not obligatory?

0

As long as youre sure the audio format you provide are widely supported by modern browser, sure its fine to only have 1 source

0

ok thank you