Home | Purchase | Samples | Download | FAQ | Testimonials | About us | Tutorials
 

How to add a soundfile in your HTML file with the sound embed tag

How can I add my own background music or voice over to the template?

You can add your own background music to your HTML page by adding the sound embed <EMBED> tag to it.The <EMBED> tag is the most common way of adding sound to a Web page. The sound embed tag is supported by both browsers, and PC and Mac platforms. The <EMBED> tag also features an interface , including a play, stop, and handle the sound button.

To embed music and have an interface to control the music you should put the code below in your body section. To make this work you must put the soundfile "sound.wav" in the root of your web site directory.

<HTML>
<HEAD>
<TITLE> Flash animations <TITLE>
</HEAD>
<BODY bgcolor="#FFFFFF">

<EMBED SRC="sound.wav" autostart="true" loop="true" HEIGHT="60" WIDTH="144"></EMBED>
</BODY>
</HTML>

To embed music without the interface you should use the following line of code.

<embed src="sound.wav" autostart="true" loop="true" hidden="true" ></embed>

 

 

 

Home | About us | Purchase | Samples | Download | FAQ | Testimonials | Partners | Link to us | Affiliates | News Releases| Flash Tutorials | Sitemap | Flash buttons Samples| Flash animations Samples | Web Design tips| SWF File Format | Flash Facts | Web Design checklist | More Flash software Tools | Flash logos design | | Resources | Basic SEO Tips

If you have any questions, please contact Support@Mix-FX.com

Copyright 1999-2009
Triple W Flash Tools


Privacy statement | Copyright notice