11
Kolibri
Re: Streaming Audio Mod
  • 2003/9/18 20:38

  • Kolibri

  • Just popping in

  • Posts: 17

  • Since: 2003/9/5 1


A few questions about Kitsou's streaming audio block.

1) How can I get a pulldown menu under the player in which some channels are predefined?

2)How to add an option to load the player into a new frame which will continue the channel/music while browsing the site.

3)Howto make the media player not start automatically.

4)Can I change the skin of the player?

Thanks in advance.

I already posted a module request at the Module Development Team based on a existing PHPNuke Module...

12
JackJ
Re: Streaming Audio Mod
  • 2003/9/18 21:09

  • JackJ

  • Community Support Member

  • Posts: 747

  • Since: 2003/8/31


Quote:

Kolibri wrote:
A few questions about Kitsou's streaming audio block.

1) How can I get a pulldown menu under the player in which some channels are predefined?

2)How to add an option to load the player into a new frame which will continue the channel/music while browsing the site.

3)Howto make the media player not start automatically.

4)Can I change the skin of the player?

Thanks in advance.

I already posted a module request at the Module Development Team based on a existing PHPNuke Module...


I have a radio mod called xp-radio on my site which I downloaded from some XOOPS Site, german or french I think, which you can customise.. Search on google for xp-radio

It has pop up selection etc, add as many stations as you like, although I customised my block not to play on the main page, no point in that, when users browse to other pages the radio goes off..popups are far better..if this is of any use to you let me know if I can help

You can make the block look like you wish with html

macambridge.com


13
JackJ
Re: Streaming Audio Mod
  • 2003/9/18 21:29

  • JackJ

  • Community Support Member

  • Posts: 747

  • Since: 2003/8/31


More for previous

I did not install this as a module, here is my customisation, I am no coder, but it works for me

Edited this, I posted wrong code a min ago

I called this popup.php

/****************************************************************
* Block XP-Radio Adapté à XOOPS par LLaumgui pour XPerience-Fr *
* http://www.xperience-fr.net *
* *
* Module sous licence gpl *
****************************************************************/
?>

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 == radiostorm) {$staradio = "64.236.34.141:80/stream/1023";}
elseif ($station == talksport) {$staradio = "194.162.227.149/audio/talksport.asx";}
elseif ($station == studentbroadcast) {$staradio = "www.sbn.co.uk/SBNLive.asx";}
elseif ($station == premierchristian) {$staradio = "www.premier.org.uk/streaming/premier.asx";}
elseif ($station == radioscotland) {$staradio = "62.25.96.7/rrs/";}
elseif ($station == talkgospel) {$staradio = "www.premier.org.uk/streaming/premierg.asx";}
elseif ($station == rtl2) {$staradio = "cache.yacast.fr/V4/rtl2/rtl2.asx";}
elseif ($station == crfm) {$staradio = "audio.musicradio.com/2CR.asx";}
elseif ($station == ucbeurope) {$staradio = "62.25.96.7/ucbinspiration";}
elseif ($station == ucbbible) {$staradio = "62.25.96.7/ucbbible";}
echo "
$station


classid=\"clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95\"
codebase=\"http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701\"
standby=\"Chargement...\"
type=\"application/x-oleobject\" align=\"middle\">





































































";


?>

//End of popup.php



My Custom Block:-- Hashed code, I am sure you can improve



















//end of hashed code

//copy radio.gif from my site if you wish

A lot of the stuff in the code is not needed, I just pasted it all from the module with my changes. Some of the french stations listed don't have matching "option value=", so they won't appear as a selection. Perhaps a coder could improve this and include real player etc. Internet_Radio for Postnuke is very good if someone could port it

A couple of the radio links are not functional because the stations are off, but you get the idea, nice one to play with?


14
Kolibri
Re: Streaming Audio Mod
  • 2003/9/18 23:14

  • Kolibri

  • Just popping in

  • Posts: 17

  • Since: 2003/9/5 1


JackJ, a big thank you for you!

This code meets the requirements for this moment. Right now I'm fitting it to my needs.

Couldn't mention it enough:

There are two brilliant streaming modules out there for PHPNuke »»» Internet Radio and Internet TV, as well as total admin control, popups, blocks and module...

They can be seen/found on http://www.just4me.nl/

So if anyone has some knowledge and time left to port it...
(Please check the module development team first, they might have accepted this port as a project!, otherwise it's a waste of your precious time!)

15
Kolibri
Re: Streaming Audio Mod
  • 2003/9/21 17:57

  • Kolibri

  • Just popping in

  • Posts: 17

  • Since: 2003/9/5 1


Anyone out there who knows how I can make this work for streaming videos?

Is this just as simple as redefining some of the player settings in the audio block and if so, which settings need to be changed?

Again thanks in advance for all XOOPS users in the XOOPS community reading this question and possibly answering this question!


16
JackJ
Re: Streaming Audio Mod
  • 2003/9/21 21:50

  • JackJ

  • Community Support Member

  • Posts: 747

  • Since: 2003/8/31


Glad it helped

I will try playing about with this. I think the current window size needs made bigger, and some other settings changed from 0 to -1

4images gallery integrated into XOOPS by Koudanshi is not just a gallery, but a fairly sophisticated media; mp3; and movie; film, and you name it media streamer as well

I put one small example simple "mov" file on my site gallery in the folder called "Media".

A link to his site is is at the bottom of the gallery page

macambridge.com


For install tips if you are interested try This thread

regards

17
Kolibri
Re: Streaming Audio Mod
  • 2003/9/22 0:21

  • Kolibri

  • Just popping in

  • Posts: 17

  • Since: 2003/9/5 1


Hooyah,

I have it working right now, never thought it would be this easy.

I've changed the window size to 320x240 and changed the rate setting of 1 to 0, it was causing a weird frame inside the window...

JackJ, thanks for the inspiration and your help/suggestions!!

18
snow77
Re: Streaming Audio Mod
  • 2003/9/22 2:43

  • snow77

  • Just can't stay away

  • Posts: 864

  • Since: 2003/7/23


Jack, I found it interesting to put 4images in my site, I followed all the steps and added the patch. When I install it says unable to write config file download the install file and upload again. I did this. But that install file just has this line of code:

25 $db_servertype =

After uploading this file I get this error:

Parse error: parse error in /home/infoenla/public_html/bennett2/modules/4images/install.php on line 25

Please,do you know how I can fix this? What should I do?


19
snow77
Re: Streaming Audio Mod
  • 2003/9/22 4:28

  • snow77

  • Just can't stay away

  • Posts: 864

  • Since: 2003/7/23


Jack, thanks for the info of 4images, it´s great, I fixed the problem I had, I had to configure the database manually, and so far it works well, now I´m trying to fix the width of how the "module" appears inserted in my theme.

20
limecity
Re: Streaming Audio Mod
  • 2003/9/22 7:17

  • limecity

  • Friend of XOOPS

  • Posts: 1602

  • Since: 2003/7/6 0


hmm..
anyone got chinese radio stations links?

I got lots of Winamp Shoutcast links
but one question..can it be implement into the script?

Thanks..

Login

Who's Online

173 user(s) are online (102 user(s) are browsing Support Forums)


Members: 0


Guests: 173


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits