Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
5 - 4 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     

Re: Streaming Audio Mod
by wizanda on 2004/7/4 16:08:08

can someone convert the exoops module
i post up as it plays most files
if you lot know this much you could mange the radio conversion as it is already half way there????
Re: Streaming Audio Mod
by JackJ on 2003/9/25 12:02:43

catscity

You will need to find the path to the station, when you have found it add your line to the code like this:


if ($station == capitalfm){$staradio = "www.radio-now.co.uk/l/capitalfmlo.asx";}
elseif ($station == classicgold) {$staradio = "62.25.96.7/classicgold";}
elseif ($station == powerfm) {$staradio = "streaming.capitalinteractive.co.uk/power_low";}
elseif ($station == smoothjazz) {$staradio = "smoothjazz.com/smooth.asx";}
elseif ($station == yourstationname) {$staradio = "pathtoyourstation";}


Then look for the code further down relating to options and add another line: (this will allow the station to show up as a selection

<option value=\"popup.php?station=yourstationname\">My Chinese Station</option>

the word "yourstationname" has to match in both instances

The station extension has to be compatible with MS Media Player. It will not play if you have dont have MS Media Player on your PC, or Winamp is your only player. Some radio extensions play in both Winamp and MS Media Player, so if the radio station path does not have an "asx" extension, it may still play in media player, like some of mine, trial and error really.

(Hint: A good way to find the path for a radio station is to go to radio station, tune in to the station, which lauches your default player, and then go to "properties" in media player for example, and paste the path into relevant place in the code--"asx" extensions and some others are compatible with MS Media Player. Some paths don't have asx extensions at all, but the correct path will still work ok in many instances)

Some of these winamp station links only work with the site default player, I would try and find some chinese links for you, but I am Scottish and don't know chinese..
Re: Streaming Audio Mod
by JackJ on 2003/9/25 8:55:26

Catscity

Yes, doing it this way it is not installed as a module

See the code I posted earlier and create a file called popup.php and paste the code in (not the custom block part)

place it in yourpath/popup.php. I have mine in my root

Then creat a custom block to call the popup something like this


<center><img border="0" src="radio.gif" width="108" height="96"></p>
<br<br>

<FORM>
<INPUT type="button" value="Popup Select" onClick="window.open('http://yourpath.com/popup.php','mywindow','width=220,height=330',scrollbars=0)">
</FORM><br>
<FORM>
<INPUT type="button" value="Radio4 Player" onClick="window.open('http://www.bbc.co.uk/radio/aod/radio4.shtml?fm')">
</FORM>
<br>
<hr>
</center>

If you don't want the radio4 part take out this:

<FORM>
<INPUT type="button" value="Radio4 Player" onClick="window.open('http://www.bbc.co.uk/radio/aod/radio4.shtml?fm')">
</FORM>

You can of course play around with the HTML to get sizes and look etc to your liking


Re: Streaming Audio Mod
by JackJ on 2003/9/25 8:33:28

Snow,

If you wish 100% width in XOOPS see this thread

Here

For free templates for 4images try http://www.vierstra.com/4images_templates.htm

Among others they have a theme called 4default_wide which is a 100% default theme

You also need to chmod 777 your template files, you can edit the templates in 4images admin
Re: Streaming Audio Mod
by JackJ on 2003/9/25 8:13:52

edit posted twice

Who's Online

180 user(s) are online (141 user(s) are browsing Support Forums)


Members: 0


Guests: 180


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits