954,566 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

How to add Online songs hearing option in Blogger

Hi friends . recently i create one blog for music . i want to knw how to add the Songs in blog for Online hearing . . . please help . . . i searched one day and did not found . please help

AjithAnnadurai
Newbie Poster
19 posts since Sep 2009
Reputation Points: 10
Solved Threads: 0
 

Try this:

<html>
<body>
<embed src="music/song.mp3" autostart="true" loop="false" width="350"
height="200">
</body>
</html>

or this for better look

<html>
<head>
<script>

document.write('<TABLE BORDER="3" CELLSPACING="0" CELLPADDING="0" BORDERCOLOR="#99CCFF" BORDERCOLORLIGHT="#DBEDFF" BORDERCOLORDARK="#5B7997"><tr><td>');
document.write('<object id="MediaPlayer1" width="300" height="45" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,02,902" standby="Loading Microsoft Windows Media Player..." type="application/x-oleobject">');
document.write('<param name="FileName" value="music/song.mp3">');
document.write('<param name="animationatStart" value="false">');
document.write('<param name="transparentatStart" value="true">');
document.write('<param name="autoStart" value="true">');
document.write('<param name="showControls" value="true">');
document.write('<param name="Volume" value="-100">');
document.write('<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" Name="MediaPlayer" src="song.mid" AutoStart="true" ShowStatusBar="1" volume="-1" HEIGHT="50" WIDTH="300"></embed></object>');
document.write('</td></tr></table>');

</script>
</head>


</html>
george61
Junior Poster in Training
59 posts since Jul 2010
Reputation Points: 10
Solved Threads: 6
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: