" Unobtrusive javascript"

Lastest News

iPlayer Script

Jun-27-2010

Seasons Greetings

Dec-22-2009

Latest Blogs

HTML 5

Jun-27-2010

Where does XHTML come from?

Dec-04-2009

Latest FAQs

iPlayer

iPlayer evolved from a project that I recently completed for a client who wanted to feature an Internet radio station on his website. A live example can be found here: http://countryradio.ch

The script is fetching the information of the currently running song, including song title, artist and cover art if available. It is based on Mootools as well as JW Player that has been downloaded over 5 million times by companies and individuals.

It also shows the recent history of the songs played. The script can be set to only play for a certain period of time or endlessly and it can be used for any Internet radio station.

Features

  • Listen to Internet radio stream
  • Retrieve stream information (song title, artist)
  • Retrieve stream history
  • Retrieve stream artwork (CD cover)
  • Plays MP3 files
  • Play
  • Stop
  • Prev
  • Next
  • Mute
  • Vol-
  • Vol+
  • List
  • Tune
  • Open
  • Quit
  • 1/15
00:00:00
00:00:00
  • Close

Arguments:


options: {
path:	 './assets/site/scripts/request_cover.php',
host:	 'rs3.radiostreamer.com',
port:	 9330,
current:	'true',
history:	true,
cover:	 'true',
altCover:	'true',
type:	 'html', // html or array
size:	 'MediumImage',
spinner:	true,
onCallback:	$empty
},	

Example:


var stream = new Stream('streamWidget', {
history: false,
size: 'SmallImage',
altCover: 'false',
spinner: false,
onCallback: function(){
this.setLinks();
}.bind(this)
});

Donations

If you use one of my scripts, I'd really like you to donate some little money with paypal to keep the development going.

Note: after donating, you will receive an automatic e-mail notification by PayPal. So if you donate as a company, you should be able to use that notification for your tax records.

© 2004 - 2010 net4visions.com. All rights reserved. Phone: +1 (858) 736-9253

Valid XHTML 1.0 Strict