• How To?
  • Tips ‘n Tricks
  • WordPress
  • Snippets
  • Software
    • Browsers
    • Downloads
  • Web
  • Tools
    • Character Counter
    • chmod Calculator
    • Entities Encoder
    • Live HTML Editor
    • My IP
  • Contact
Twitter Facebook Google+ RSS
You are here: SumTips » How To? » Embed MP3 Audio Files on Your Website with Google Audio Player

Embed MP3 Audio Files on Your Website with Google Audio Player

Posted on May 4, 2011 by Renji | Short URL: http://sumtips.com/?p=4096

Google Audio Player is a nice way to embed MP3 audio file on your website. The Audio Player is actually designed to provide audio playback capabilities in Google Reader, but you can use it to offer on-site playback of audio files to your readers.

This is the code you need:

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

As you can see, the audio player is a Flash object. This makes it possible to stream MP3 and other audio files. Now, all you got to do is, replace the “MP3link” with your audio link in the code. The width of the player can also be adjusted to fit your content width, but don’t change the height.

Paste the embed code where you want the Audio Player to be displayed. It could be in a blog entry, within the HTML of your website or even on your social networking profile. [mp3 via pacdv]


Tweet

Related posts:

  • Embed Google Services on Your Website with Google Web Elements
  • Local Player – An Awesome Music Player App for Google Chrome
  • Embed Google’s Pac Man Game on Your Website
  • MP3 Player Runs in Browser and Plays Music from Your Computer
  • Google TV Gets an Official Website
Categories: How To? | Tags: Google
Upgrade Ubuntu Using an ISO Image File
Customize and Add Google +1 Button to WordPress, Blogger and other Websites

One Response to “Embed MP3 Audio Files on Your Website with Google Audio Player”

  1. Chris says:
    January 7, 2012 at 12:25 PM

    is there a way to ad attributes like loop and auto play?

  • Get Updates via Email

  • Recent Posts

    • CMS2CMS: Migrate Site from Drupal or Joomla to WordPress
    • WordPress: Add Preview Button in Distraction Free Writing
    • How to Activate or Deactivate Individual Jetpack Modules
    • Windows 8: Auto Update Defender with Windows Update Disabled
    • Automatically Start and Close Programs at Specific Time
    • How to Copy Code from Notepad++ with Syntax Highlighting
  • Random Posts

    • Set Custom User Agent on a Per-Site Basis in Chrome & Firefox
    • Get Enhanced Context Menu With Shell Tools
    • Remove Website and Email Fields from WordPress Comment form
    • Dropbox Hits Version 1.0.0
    • Easily Access and Organize Google Chrome Apps with AppJump
    • Delete YouTube Account
  • Categories

    • Blogging
    • Games
    • Google
    • How To?
    • Linux
    • Microsoft
      • Windows
    • Miscellaneous
    • Phone
    • Snippets
      • AutoHotkey Snippets
      • CSS Snippets
      • htaccess Snippets
      • JavaScript Snippets
      • PowerShell Snippets
      • WordPress Snippets
    • Social
    • Software
      • Browsers
    • Tips 'n Tricks
    • Wallpapers
    • Web
© SumTips. Contact | Sitemap | Privacy Policy