Xpode.com        Click here to Print this article.

How to play song in html

There are many situations where user need to run video on html page. A simple way is embed that in page.

Code for that is

<embed src="1.mp3" autostart="true" loop="false" 
width="170" height="45">
<br>
Play SONG <br><br>
<noembed>Sorry, your browser doesn't support the embedding of multimedia.
</noembed>
You can write autostart="false" if you do not want to run song automatically.



http://
http://

Contributed by:
Rohit kakria
I am software developer, moderator of xpode.com

Resourse address on xpode.com
http://www.xpode.com/Print.aspx?Articleid=144

Click here to go on website