Creating a radio player with JW Player

~ 0 min
2013-08-14 16:13

JW Player is a highly customisable video and audio player for the web. While not specifically designed for streaming audio, it makes an excellent replacement for the flash player that we provide.

 

JW Player is available as a stand alone player, which we are using here. Some CMSs have JW Player available as a plugin/ addon for easy integration such as JW Player for Wordpress.

 

For licensing reasons, we've placed images on this page instead of the actual player.

 

Default settings

 

jwplayer("myElement").setup({
    flashplayer: "jwplayer.flash.swf",
    file: "http://s1.voscast.com:7000/;stream.mp3",
    type: 'mp3',
    flashvars: 'ignoremeta=true',
    provider: 'sound',
    primary: 'flash'
});

Audio only mode

 

 

jwplayer("myElement").setup({
    height: 30,
    flashplayer: "jwplayer.flash.swf",
    file: "http://s1.voscast.com:7000/;stream.mp3",
    type: 'mp3',
    flashvars: 'ignoremeta=true',
    provider: 'sound',
    primary: 'flash'
});

A complete list of configutation options for JW Player can be found here. You can also completely reskin JW Player with various skins found on their site.

Average rating 3.75 (4 Votes)

You cannot comment on this entry