Board Logo

Incorporate simple flash based playback instead of WMP
CiXel - 7-12-2010 at 10:04 PM

Can you incorporate this simple open source flash based stream player in the topbar instead of using WMP. This would allow users to steam directly within the UI with non-windows based devices. It's also very light weight. I've been using just the 'button' player which is just a simple play/stop button.

While I'm already using this in the 'custom header' section, this seems like it'd be a valuable replacement for WMP and easy to implement. (I'd also like to be able to place it in the header bar which I can't access presently)

http://musicplayer.sourceforge.net/
http://sourceforge.net/projects/musicplayer/files/musicplayer/button_player-0.1/button_player


Audiosoft - 7-12-2010 at 10:19 PM

that would be for the 2Web interface right?


CiXel - 7-13-2010 at 01:23 AM

yessir, sorry, that's the idea


Audiosoft - 7-13-2010 at 01:42 AM

Only thing is it looks like it only plays mp3s
Can it play a shoutcast stream?


CiXel - 7-13-2010 at 01:51 AM

Yessir-
I'm using it presently to play my stream.
I couldn't get it to play my aac stream, but it worked fine on an mp3 stream
Here's a code test page:
http://musicplayer.sourceforge.net/button/test.html

Looks something like this:

Code:
<object type="application/x-shockwave-flash" data="http://musicplayer.sourceforge.net/button/musicplayer_f6.swf?&repeat=true&song_url=http://streamaddress&" width="17" height="17"> <param name="movie" value="http://musicplayer.sourceforge.net/button/musicplayer_f6.swf?&repeat=true&song_url=http://streamaddress&" /> <img src="noflash.gif" width="17" height="17" alt="" /> </object>