Alhamdulillaah, finally i got it. How to stream a song on my blog. Just add this below streaming script and paste to any place like header, body, or footer. Choose one you like.
This script is for IE browser
<embed src=”http://siti.anggareni.googlepages.com/chunkookehgiuk.m3u” autostart=”true” hidden=”true”></embed>
This script is for IE, Netscape, and Firefox
<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 components…” type=”application/x-oleobject”>
<PARAM NAME=”FileName” VALUE=”http://siti.anggareni.googlepages.com/streaming.m3u”>
<PARAM NAME=”animationatStart” VALUE=”true”>
<PARAM NAME=”transparentatStart” VALUE=”true”>
<PARAM NAME=”autoStart” VALUE=”true”>
<PARAM NAME=”showControls” VALUE=”true”>
<EMBED type=”application/x-mplayer2″ pluginspage = “http://www.microsoft.com/Windows/MediaPlayer/” src=”http://siti.anggareni.googlepages.com/streaming.m3u” name=”MediaPlayer1″ ShowControls=true width=300 height=45 AutoStart=true>
</EMBED>
</OBJECT>
Replace http://siti.anggareni.googlepages.com/chunkookehgiuk.m3u” with your mp3 link storage. If you want to hide the player, replace value's showcontrols by false. Done.
Tidak ada komentar:
Posting Komentar