Monday, May 21, 2007

Sound Embeds In HTML

Now this is a sure giveaway at what an amateur I am. Nonetheless, the existence of this blog serves as a reminder of lessons learnt, if nothing more.

So here I have some code I got from elsewhere on how to embed sound files in HTML:

<embed src ="your_waveormp3etc_filename" width = "275"height = "24" autostart = "false" loop = "false"></embed >

The src parameter is the source audio file. The autostart determines whether the file plays automatically when the page loads.

No comments: