Click here to hide categories Click here to show left categories

User: Home          welcome : Guest          Log In / Register here     




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.

Share this article   |    Print    |    Article read by 4691 times
Author:
Rohit kakria
I am software developer, moderator of xpode.com
Related Articles: No related article
Related Interview Questions: No related interview question