About Blogging WP Tutorials Google Apple Computers Downloads SEO Facebook Twitter
  • 14/04/2011    

Use Google Audio Player to Embed MP3 Audio Files

Advertisements

How can you embed mp3 files into web pages? Google audio player is a cool way to embed and play any music mp3 file on your website. This will allow your readers to play audio files directly from web pages.

Google Audio Player Embeds Mp3 Files

So what code do you embed in your webpage

<embed type="application/x-shockwave-flash" src="http://www.google.com/reader/ui/3523697345-audio-player.swf" quality="best" flashvars="audioUrl=MP3link" width="500" height="27"></embed>

You can change the width of the Google audio player to fit your content width. If you increase the height, a black empty zone starts to appear, so best keep it at 27px. Remember to change MP3link with the link to your mp3 file url. This means the mp3 is hosted on your site or on some mp3 hosting services.

Play the embedded mp3 below. You can also change the volume!

But where is the Google branding? Actually this code is used to play audio files in Google reader (see the audio player flash file url), but this is the easiest way to embed mp3 audio files. Simply add the mp3 url link and embed any mp3 file using this simply Google audio player! [mp3 by PacDV]

13 Responses

  1. where do you type in the mpr file path?

    flashvars=”audioUrl=MP3link”

    do u put it instead of the MP3link or do u put it in the parentheses

    ed posted on 22/04/2011
  2. Just replace the word MP3link with the url.

    QuickOnlineTips posted on 24/04/2011
  3. I think any mp3 url which works as a direct link on the web, should work on the Google Audio Player.

    QuickOnlineTips posted on 24/04/2011
  4. Can I play multiple mp3 files, a playlist, with this player?

    Bill posted on 27/04/2011
  5. How to insert autoplay?

    Amanda posted on 23/05/2011

Leave a Reply to “Use Google Audio Player to Embed MP3 Audio Files”

Name Email Site