Add Flash MP3 player in in Blogger, WordPress blog or your HTML website

By admin | Posted under Blogging.
advertisements

Most of the embedded music players that we see in web are are  based on JavaScript and Flash (SWF). We need to encode the required music and video into MP3 and FLV formats to play them online. Also it requires the latest version of Adobe Flash player for online streaming. So if you are running a personal blog or something related with music or video, it would be much better if you can add music stream to your website. Here we have two methods for creating and MP3 music player for your  WordPress- Blogger or blog . These players could also be used with Myspace, Orkut and other social  networking profiles as scraps or messages .

The first MP3 music player code is pretty easy to implement when compared with the second one. It allows a lot customizations.

“This is how this player looks in your website”

Free Flash MP3 streaming audio player code:


<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="52" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="flashvars" value="audio_duration=DURATION&amp;external_url=http://sound11.mp3pk.com/indian/aadekhenzara/aadekhenzara01(www.songs.pk).mp3" /><param name="src" value="http://www.techknowl.com/wp-content/uploads/2010/03/audio_player_standard_gray.swf" /><param name="wmode" value="transparent" /><embed type="application/x-shockwave-flash" width="400" height="52" src="http://www.techknowl.com/wp-content/uploads/2010/03/audio_player_standard_gray.swf" wmode="transparent" flashvars="audio_duration=DURATION&amp;external_url=http://sound11.mp3pk.com/indian/aadekhenzara/aadekhenzara01(www.songs.pk).mp3"></embed></object>

Create a new page or post in your Blogger or WordPress blog  including the above code and publish. Flash based player will start streaming the external music link added in the code. Remember to change the audio file with one of your choice.

Edit the above code to change the size, width and other parameters of the player.

The second type of Flash MP3 music player is derived from 1pixelout’s WordPress audio player plugin. We can directly use 1pixelout’s standalone mp3 player with websites having support for PHP script.

Here we will explain how you can use that plugin in Blogger and other static website/blogs/social sites .

Copy the the following code and place just before </head> in your Blog’s template HTML

<script language="JavaScript" src="http://www.techknowl.com/wp-content/uploads/2010/03/audio-player.js"></script>

Now, for enabling the flash mp3 player in a blog post, put the following in to your post.
<object type="application/x-shockwave-flash" data="http://www.techknowl.com/wp-content/uploads/2010/03/player.swf" id="audioplayer1" height="24" width="290"><param name="movie" value="http://www.techknowl.com/wp-content/uploads/2010/03/player.swf"><param name="FlashVars" value="playerID=1&amp;soundFile=http://sound11.mp3pk.com/indian/aadekhenzara/aadekhenzara01(www.songs.pk).mp3"><param name="quality" value="high"><param name="menu" value="false"><param name="wmode" value="transparent"></object>
If you plan on posting many MP3 clips in your blog (Blogger) , put the code into your post template by moving on to Settings>Formatting. Remember to edit the MP3 URL (in bold letters ) with your music link .

Hope you will enjoy these simpler embedded web music players. Check this post if you want to create playlists and add multiple music files to your web player.

Related Posts
Get articles like "Add Flash MP3 player in in Blogger, WordPress blog or your HTML website" in your Email: SIGNUP

Tags: , , , , ,

Comments

12 Responses to “Add Flash MP3 player in in Blogger, WordPress blog or your HTML website”
  1. lea says:

    how do you make it autoplay?

  2. Anonymous says:

    how do make the play start automatically

  3. Mike says:

    Hi, goto and search the music, click on listen and embed the code. Its easy.

  4. tom says:

    hey thanks i got it working but how do you change the mp3 file

    i’ll keep trying but thanks

  5. telugu songs free download says:

    thanks for the code and after integrating into blog it’s working fine. I think its taking more time for the blog to load. is this due to Flash Mp3 player..?

  6. free tutorials says:

    Hey thanks a lot for sharing such a nice and informative article. really a very nice and detailed review……………Thanks a lot

  7. maryanne says:

    I usually don’t comment on websites but this one is so relevant and well put together that I just had to stop and say,GREAT WEBSITE.

  8. kiril says:

    здравейте бих искал да попитам как да си кача флаш плеар в сайта си надявам се някои да ми помогне предварително мерси скюпе за връзка с мен dike.y

  9. Xperio says:

    this is nice post… mp3 player will be awesome in blog

  10. modified cars says:

    thanks for sharing and enjoyed installing on my blog. i think it is taking time to load the page after installing this player.

  11. emsmostoralata says:

    hey man were can i get the songs frm any web site plz help thnks :)

  12. hailong says:

    Can you tell me what part of the code I need to change so I can insert my own music. Thank you.

Do you have any comments on Add Flash MP3 player in in Blogger, WordPress blog or your HTML website ?

Incoming search terms for the article:

music player for blogger ,music player code ,blogger music player ,music player for blogspot ,mp3 player code ,orkut music player ,music player for blog ,music player blogger ,website music player code ,mp3 player for blogger ,blogger mp3 player ,html mp3 player code ,html music player code ,music player for website code ,mp3 player html code ,music player code for website ,flash mp3 player for blogger ,mp3 code for blogger ,audio player for blogger ,mp3 player blogger ,music player for blogs ,flash player for blogger ,flash music player code ,mp3 codes for blog ,mp3 player codes