Multiple Sources

66% Complete (success)

<audio preload controls >
<source src="#" type="" / >
</audio>

When using more than just .mp3 you should include multiple versions of the file, with decreasing preference. This allows the browser to then use the file format that it supports.

This can be done by omitting the src="" attribute from the <audio> element and instead using a separate <source /> element inside the parent <audio> element.

The <source /> element is an empty element, and accepts the src="" attribute to provide the URL to the browser.