Go Back   Winamp Forums > SHOUTcast > SHOUTcast Discussions

Reply
Thread Tools Search this Thread Display Modes
Old 24th July 2005, 08:38   #1
César-tenaz
Junior Member
 
Join Date: Jun 2005
Posts: 4
radio on flash

any ideas, i need put my radio on a flash player with the botton volumen up and down


be nice!!
César-tenaz is offline   Reply With Quote
Old 24th July 2005, 10:58   #2
zee100
Senior Member
 
Join Date: Nov 2003
Location: Germany
Posts: 169
Can't be done with flash only. There's another topic about flash and streaming on this forum.
If you go to the drs2006 page you see a flashplayer streaming the radio, but they do a little trick for this.
The player is flash but the stream is from a hidden windows media player.
Don't ask me about that. I'm not good in flash.
The only think I know it's flash+hidden media player+javascript.

The script has to look like this:

<OBJECT ID="Player" height="0" width="0"
CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6">
</OBJECT>
<INPUT TYPE="image" src="play.gif" NAME="BtnPlay" VALUE="Play" OnClick="StartMeUp()">
<INPUT TYPE="image" src="stop.gif" NAME="BtnStop" VALUE="Stop" OnClick="ShutMeDown()">
<PARAM name="player.settings.volume" VALUE="100">


<SCRIPT>
<!--

function StartMeUp ()
{
Player.URL = "http://blablablaortnumber";
}

function ShutMeDown ()
{
Player.controls.stop();
}

-->
</SCRIPT>

I did something like this but that's not flash.

Perhaps someone else can help you more.
zee100 is offline   Reply With Quote
Old 25th July 2005, 09:14   #3
Nick@ss
Moderator
 
Nick@ss's Avatar
 
Join Date: Nov 2004
Location: Streamsolutions Headquarters
Posts: 11,956
it has been a good topic in these parts,

have a search for it and you will see that many people battle agains the memory problems with the memory running out in the script,

people are always on the look for anything you can find to help out

we have got 1 in progress but again still battling with a few bugs before its right.

good luck
Nick@ss is offline   Reply With Quote
Old 25th July 2005, 13:04   #4
GHOSTRADIONET
Banned
 
Join Date: Apr 2005
Posts: 155
.

I've been working on a custom player interface
for my station for some time now..
in my spare time..

It's pretty much complete at this point....
unless I discover some other earth-shattering feature
or code that I want to add to it..

Originally placed on a web page...
it's now also available on a pop-up window for those who
wish to continue to surf while listening to my station..
Click here to view the custom player


comments and suggestions are always welcomed..


G.
GHOSTRADIONET is offline   Reply With Quote
Old 25th July 2005, 23:47   #5
SorceryKid
Senior Member
 
Join Date: Nov 2000
Posts: 294
Windows Media Player provides a versatile COM component for integrating streaming audio within a Web page. Simply get the Windows Media Player SDK docs off of Microsoft's site.

They describe how to embed the control, sink its events, and send commands to the control. Flash is an ActiveX control as well, so it's just a matter of creating pass-through handlers in VBScript of JScript to coordinate the two. It may take some trial and error (and apparently from what people are saying can incur memory leaks as well), but it should be very possible.

--RK
SorceryKid is offline   Reply With Quote
Old 27th July 2005, 03:05   #6
rgATL
Major Dude
 
Join Date: Feb 2003
Location: ATL, of course.
Posts: 724
However, WMP won't work with Mac or Linux unless they've specifically gone and downloaded WMP for their platform. Correct?

rg.
rgATL is offline   Reply With Quote
Old 27th July 2005, 03:10   #7
drewbar
Sawg 2.0
Major Dude
 
Join Date: Mar 2004
Posts: 5,917
There is no WiMP for Linux and at last check the MAC verion was hella out of date.

Count with us!
Jan 1st, 12AM (PST, GMT -8) 2010 - 282,246
drewbar is offline   Reply With Quote
Reply
Go Back   Winamp Forums > SHOUTcast > SHOUTcast Discussions

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump