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">
Play SONG <br><br>
<noembed>Sorry, your browser doesn't support the embedding of multimedia.
You can write autostart="false" if you do not want to run song automatically.


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

Resourse address on xpode.com

Click here to go on website