+ 1
About audio element
I have a question, if I want to add only one audio type, do I write <audio src="example.mp3" type="audio/mpeg"> or do I type <audio src="example.mp3">, is the type attribute needed? Or do I only use it when I add more than one audio types using the <source> element?
1 Réponse
+ 13
Karak10 Type isn't necessary, look at this:
<audio src="https://dl.dropbox.com/s/c6aq63o2mwuvkui/Happy-Birthday-to-you-Singing-Bell.mp3" controls>
Audio Element
</audio>