Just Upload your audio file – MP3 file to http://archive.org and copy its download (stream link) link.
It may be like this (sample) - http://ia310829.us.archive.org/3/items/Meridhun-RaviratlamiGharAaJaVe/RekhaKePyarMe.mp3
Now, where you want to embed online audio player, copy-paste following code :
<embed allowscriptaccess="always" flashvars="valid_sample_rate=true&external_url=DOWNLOAD-LINK-OF-MP3" height="52" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="http://www.odeo.com/flash/audio_player_standard_gray.swf" type="application/x-shockwave-flash" width="300" wmode="transparent"></embed>
Here, simply replace DOWNLOAD-LINK-OF-MP3 with that of YOUR mp3 files that you have uploaded to http://archive.org.
If we use the link given in sample, the final code will be like this -
<embed allowscriptaccess="always" flashvars="valid_sample_rate=true&external_url=http://ia310829.us.archive.org/3/items/Meridhun-RaviratlamiGharAaJaVe/RekhaKePyarMe.mp3" height="52" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="http://www.odeo.com/flash/audio_player_standard_gray.swf" type="application/x-shockwave-flash" width="300" wmode="transparent"></embed>
And, you are done!
Here is the actual implementation of the above code -
This method has many benefit – services like e-snips and lifelogger remove your mp3 files randomly without giving you reasons. Archive.org files remain forever (provided it is not copyrighted material)
No comments:
Post a Comment