Help - Search - Members - Calendar
Full Version: Help Please With Coding My Radio
Zymic Webmaster Forums > Web Design & Development > General Web Design Discussion
Digital Bass
I am in the middle of creating a online music community.

I am got a forum set up at Digital Bass Forum but i am in the middle of creating a layout. on the banner i have a radio with various buttons as play and so on and current song.

My question is how do i make this come alive and code it. i am using shoutcast software from winamp.
Matt Mitchell
Various buttons such as?

If it's Play and Pause/Stop, then Play, you would just link the Play button to the stream of your radio... i believe it's something like;

http://Your.ip.address./port#/listen.pls or something similar to that.

If it's Play, Pause, Next song, Previous song, that wouldn't be able to work with shoutcast and winamp, because like real radio the listener cannot just choose another song on demand unless it's requested.. but even so then the DJ would have to change the song. It would then make it more like a Playlist such as ProjectPlaylist.com or Imeem.com


On another note;... I'm pretty sure the word "Bootleg" goes against the Zymic.com policy... if your using that as a double meaning, you should clear that up with an Admin with Zymic so they don't delete your website.
Jacob
I recommend getting a Flash one. I have one on [this] page. It uses basic XML to gather the files and names and what not then puts it onto a simple interface for all to see. Link in on the player, so follow that for more information.

Jacob.
Digital Bass
Well i am sorta basic knowledge and cant use flash
or know xml
k.digennaro
Jacob's got the right idea, are you trying to make this a live website? I know emo has his radio online and plays live rmaybe he'll chime in and give you some pointers. As for media players there are many ways you can go, you can use an embedded version of windows media player (code needs to be tweaked for zymic, you cant host mp3 here, you must host off site)

Windows Media Player
CODE

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
<title>Music Player</title>
<style>
/*style your player here*/
</style>
</head>
<body>

<div id="musicplayer">
<OBJECT id="VIDEO" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" type="application/x-oleobject" width="320" height="240">

<PARAM NAME="URL" VALUE="nameofyoursong.mp3">

<PARAM NAME="enabled" VALUE="True">

<PARAM NAME="AutoStart" VALUE="False">

<PARAM name="PlayCount" value="1">

<PARAM name="Volume" value="50">

<PARAM NAME="balance" VALUE="0">

<PARAM NAME="Rate" VALUE="1.0">

<PARAM NAME="Mute" VALUE="False">

<PARAM NAME="fullScreen" VALUE="False">

<PARAM name="uiMode" value="full">

</OBJECT>
</div>
</body>
</html>




Also you can sign up on a webpage like www.reverbnation.com and upload your music there, then you can get a media player with your playlist and use it on your site.

Flash is your other option, probably the best for wat your looking for.


Good luck,
Kevin
D.Juwara
QUOTE(Matt Mitchell @ Aug 10 2008, 10:29 PM) *
Various buttons such as?

If it's Play and Pause/Stop, then Play, you would just link the Play button to the stream of your radio... i believe it's something like;

http://Your.ip.address./port#/listen.pls or something similar to that.

If it's Play, Pause, Next song, Previous song, that wouldn't be able to work with shoutcast and winamp, because like real radio the listener cannot just choose another song on demand unless it's requested.. but even so then the DJ would have to change the song. It would then make it more like a Playlist such as ProjectPlaylist.com or Imeem.com
On another note;... I'm pretty sure the word "Bootleg" goes against the Zymic.com policy... if your using that as a double meaning, you should clear that up with an Admin with Zymic so they don't delete your website.

From what I know you can 'Pause' when listening to a winamp radio.
Once you try to play again it will just simply continue, but at one time it will hop to the correct time.
Andrew
QUOTE(D.Juwara @ Aug 11 2008, 01:01 PM) *
From what I know you can 'Pause' when listening to a winamp radio.
Once you try to play again it will just simply continue, but at one time it will hop to the correct time.

It's true but you cannot control play pause next forward from the web without an installed plugin in winamp (and even with this plugin it creates its own webserver on your computer, and only controls your personal winamp. The only thing you could do is make the playlist load, but you wouldn't be able to pause it.

I suggest a flash media player.

http://www.jeroenwijering.com/?item=JW_FLV_Player This is a good one and supports live http streaming (no editing flash files, just xml files and maybe some styles.)
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.