Embedding Audio in web pages

Embedding from web services/sharing sites


Creating Audio:


Embedding files on your web server

HTML 5 audio tag with multiple sources
Ogg and mp3 cover most browsers and devices

<audio controls="controls">
<source src="Space_Jam.ogg" type="audio/ogg">
<source src="Space_Jam.mp3" type="audio/mpeg">
Your browser does not support the audio element.

HTML 5 audio tag with 1 source

<audio src="Space_Jam.mp3" type="audio/mpeg" controls>

Older embedding using the object and embed tags

<param name="autostart" value="true">
<param name="src" value="Space_Jam.wav">
<param name="autoplay" value="true">
<param name="controller" value="true">
<embed src="Space_Jam.wav" controller="true" autoplay="true" autostart="True" type="audio/wav" />

See http://www.w3schools.com/html5/html5_audio.asp