just like that

  • Home
  • Make Money
    • Your Click
    • Others Click
    • Other Programs
  • Technical Support
    • Windows
    • Android
    • Other
      • how to do
  • online Is On
    • Online Media
      • Online Fm Radio
      • Online Tv
      • Online Games
    • Funny Videos
    • Downlaod Mp3 And MP4 Songs
    • Most Important Videos On Youtube
    • How To Make
  • Tourist Place
  • Health
    • Food Medicine
    • Workout
  • Image Collection

Friday, 25 November 2011

How to Embed MP3 Audio Files In Web Pages

 06:27     google     No comments   



Embed MP3 AudioLearn how to embed MP3 files (like songs, music or audio podcasts) in web pages so that visitors can listen to the audio in the browser via the Flash player without requiring Quicktime or Windows media player.

Embed MP3 Files with Flash Players

Here we explore Flash based MP3 players from Google and Yahoo! that are small in size and also easy to embed in web pages.
1. Google Reader MP3 Player
Google Reader has an inbuilt MP3 player that is pretty much the same as Gmail player but it also works on non-Google websites. This player has volume controls, no Google branding and it auto-detects the duration of the music file so your readers know how long the song will last. Here's a live example followed by the HTML embed code:
To use this MP3 player on your website or blog, copy-paste the following code and replace the MP3_FILE_URL with the link to your MP3 file.
<embed type="application/x-shockwave-flash" flashvars="audioUrl=MP3_FILE_URL" src="http://www.google.com/reader/ui/3523697345-audio-player.swf" width="400" height="27" quality="best"></embed>
2. Yahoo! MP3 Player (inactive)
If you think normal is boring, check this out. Yahoo! offer a code generator (Easy Listener) to help you create a Flash based MP3 player that matches your website color theme and layout.
Though this Easy Listener MP3 player requires you to pass the address of the web page that contains the MP3 file(s), you can directly pass the MP3 link and it will work just fine. Supports auto play and you can decide where the meta data associated with the MP3 file should be displayed.
<embed src="http://webjay.org/flash/dark_player" width="400" height="40" wmode="transparent" flashVars="playlist_url=MP3_FILE_URL&amp;skin_color_1=-145,-89,-4,5&skin_color_2=-141,20,0,0" type="application/x-shockwave-flash" />
3. Yahoo! Media Player
If you maintain an MP3 blog or run a podcast and regularly link to MP3 files, it makes little sense to embed a separate Flash player with every MP3 file. I would therefore recommend using the Yahoo! Media Player that auto-detects links to MP3 files in your web pages and creates an embedded player for each link.
All you have to do is insert the following link in your blog template and all MP3 hyperlinks will be converted into inline MP3 players. This also has the shuffle feature and visitors can easily skip to any song in the playlist. Excellent stuff.
<script type="text/javascript" src="http://mediaplayer.yahoo.com/js"></script>
4. Odeo MP3 Player (inactive)
Odeo offers a pretty impressive MP3 player that works perfect in web pages as well as RSS readers but a small issue is that Odeo Player requires you to type the exact duration of the song in the embed code. You can skip this step but then the progress bar won't reflect the true status when you play the song. And there are no volume controls.
To use Odeo MP3 player in your website, add the following code replacing MP3_FILE_URL and DURATION with relevant values.
<embed type="application/x-shockwave-flash" src="http://www.odeo.com/flash/audio_player_standard_gray.swf" width="400" height="52" allowScriptAccess="always" wmode="transparent" flashvars="audio_duration=DURATION&amp;external_url=MP3_FILE_URL" />
Summary: With so many choices, how do you pick the right MP3 player for your website ?
As a minimalist, I prefer the Google Reader MP3 player since it offers volume control and minimal branding. But if you are regularly linking to MP3 files, this will prove cumbersome and I suggest integrated the Yahoo! Media Player on your website.
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 comments:

Post a Comment

Video Game Godfather - Work From Home Selling Video Games Online

Click Here!

Appszero - Build Mobile Apps With Zero Coding

Click Here!

Translate

I Got Total Views

Popular Posts

  • 10 Different Url Shorteners That Give You Addon Benefits
    There was a point of time when no one ever considered the fact that there ever might arise a need for a URL shortener. In recent times, howe...
  • Create Short URLs with the Goo.gl Bookmarklet
    If you are looking for a way to create your own short URLs with goo.gl but without installing the Google Toolbar, here's a quick bookma...
  • How to Get Full Feeds inside Google Reader
    Some websites, BBC News for example, offer only a headline and a short excerpt in their RSS feeds and you therefore have to leave your Goo...
  • Top 10 Free Software Download Sites
    A computer user needs different software to meet different needs all the time. Over the years many software companies have created some a...
  • Tips and tricks for Sony Ericsson W800i and W810i
    Official Sony Ericsson Tips and Tricks http://www.sonyericsson.com/spg.jsp?cc=gb&lc=en&ver=4000&template=ps1_1_5_4&zone=ps...
  • How to Recover your Facebook Account with Trusted Friends
    There are a couple of simple but important steps you may take to ensure that your Facebook account is always safe and secure from hackers. F...
  • 4G Technology
    What is 4G technology When talking about  4G,  question comes to our mind is  what is 4G Technology .  4G  is short for Fourth (4th) Generat...
  • Graphics in Photoshop: 6 Beginner Tips for Web Designers
    Graphic design  and  web design  are two distinct visual fields that have different requirements, best practices and methodologies. For exa...
  • What is Android
    Android There are different mobiles and computers operating systems like different models of computers and mobiles.  Android  is one of the ...
  • Facebook is Passé [Point.1] Friends ≠ Social Networks
    Ok, so that was a cheap trick to make you read the article! But it is tempting to get carried away with the brilliant success of Facebook an...

Recent Posts

Categories

  • 12b
  • 180
  • 365 Kadhal Kadithangal
  • 3g
  • 4 Students
  • 7am arivu video songs
  • affiliate
  • Airtel Free Live Tv
  • Audio CD/DVD Burning
  • blog tricks
  • blogging
  • browser
  • Dish tv
  • download manger
  • download soft
  • earn sites
  • facebook
  • Favicon to Blogger
  • free call
  • free sms
  • games
  • Gemini Comedy
  • google
  • gprs
  • health
  • hindi
  • How do I create a blog
  • internet
  • iPhone
  • java
  • Kavithai
  • LG
  • live mobile tv
  • live tv
  • mobile
  • mobile tv
  • motorola
  • movies
  • mp3 player
  • Nadanthathu Enna
  • Noika
  • old movies
  • online fm
  • online movie
  • online movies
  • online tv
  • Photoshop
  • samsung
  • Serials
  • software
  • sony ericsson
  • sql
  • Surya Hits
  • tamil
  • tamil movies
  • tamil video songs
  • tamilmobiletv
  • tech
  • telugu
  • top 10
  • TV SHOWS‎
  • video converter
  • Video Players
  • video songs
  • windows software
  • youtube

Blog Archive

  • August (36)
  • September (39)
  • November (715)
  • December (627)

About Me

My photo
punniyaseelan
View my complete profile
Powered by Blogger.

Sample Text

Copyright © just like that | Powered by Blogger
Design by punniya seelan | Blogger Theme by New Blogger Themes | Distributed By Templates