HTML audio: Difference between revisions

Content deleted Content added
No edit summary
Tags: Visual edit Mobile edit Mobile web edit
No edit summary
Tags: Visual edit Mobile edit Mobile web edit
Line 18:
 
Example:<ref>{{Cite web|url=https://www.w3.org/wiki/HTML/Elements/audio|title = The Embed Audio element – HTML: HyperText Markup Language &#124; MDN}}</ref>
 
<syntaxhighlight lang="html">
<audio controls>
<source src="https://media.w3.org/2010/07/bunny/04-Death_Becomes_Fur.mp4" type="audio/mp4" />
<source src="https://media.w3.org/2010/07/bunny/04-Death_Becomes_Fur.oga" type="audio/ogg; codecs=vorbis" />
<p>Your user agent does not support the HTML5 Audio element.</p>
</audio>
</syntaxhighlight>
 
=== Supporting browsers ===