|
|
#1 |
|
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!! |
|
|
|
|
|
#2 |
|
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://blablabla ortnumber";} function ShutMeDown () { Player.controls.stop(); } --> </SCRIPT> I did something like this but that's not flash. Perhaps someone else can help you more. |
|
|
|
|
|
#3 |
|
Moderator
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 |
|
|
|
|
|
#4 |
|
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. |
|
|
|
|
|
#5 |
|
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 |
|
|
|
|
|
#6 |
|
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. |
|
|
|
|
|
#7 |
|
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.
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|