A nod of the head to Amit at Digital Inspiration for pointing me in the right direction for the Yahoo Media Player with his post “How to embed mp3 audio files in web pages”.

There are two versions to the Yahoo Media Player - a javascript based version and a Flash based version.

For the javascript version, first you need to link to the file. For example:

<a href=”http://techwhimsy.com/31_Ghosts_IV.mp3″>31_Ghosts_IV</a> which looks like:

31_Ghosts_IV

Then, you insert the javascript for the media player somewhere on the page:

<script src="http://mediaplayer.yahoo.com/js" type="text/javascript"></script>

After that, a little ‘play’ button should appear next to your media file link. Click the button and the player launches.

This method has occasionally been reported to not work on self-hosted Wordpress blogs like this one. To get the Yahoo Media Player to work in Wordpress if the above method hasn’t worked, try inserting the script tag in your header file.

You will also notice that off to the left hand side is the miniaturised version of the player which you can also launch just by clicking on it.

Using Yahoo Media Flash Player

Yahoo also offer a Flash player with a handy Yahoo flash player configurator at next.yahoo. You plug in the url of the page or file, choose some options such as colour, size, autoplay or rounded corners and it will generate the Flash embed code for you. My configured player looks like this:

If you're new here, thanks for stopping by. If you like what you read, you may want to subscribe to my RSS feed. Thanks for visiting!

Like this post? Please consider submitting it to one of the following services:

Spread the Word!

Comments

2 Responses to “How to stream mp3s with Yahoo Media Player”

  1. ketesha on May 11th, 2008 10:09

    how do i put songs on my cricket phone

  2. shane on May 18th, 2008 14:10

    Hi Ketesha,

    Sorry to take so long with this answer but I had no idea what a cricket phone was so I had to look it up. It seems that it all depends on what type of handset you have with Cricket. The Cricket support FAQ might have the information you need - How do I use the MP3 functionality on my phone?

    Hope that helps.

Leave a Reply