Old 28th October 2005, 10:32   #1
flick650
Junior Member
 
Join Date: May 2003
Posts: 25
AAC+ browser plugins?

Anybody know of any?

I am streaming in 32k AAC+ because I only have enough upstream to braodcast in that quality and 32k MP3 sounds slushy. AAC+ is the reason I started and I am currently working on a website to go with the radio station and I am wondering if there is a way to have a player in a web browser.

There was a way with MP3 as you could use quicktime, real and Flash but AAC+ is not widely supported. Anybody know any way of doing this?

The website is www.odsoks.co.uk.

Thanks
flick650 is offline   Reply With Quote
Old 28th October 2005, 14:45   #2
ravetrax
Major Dude
 
ravetrax's Avatar
 
Join Date: Apr 2003
Location: Clearwater, FL ~~~~~~~~~~~~~~~ My name is Rava www.ravetrax.com
Posts: 541
Send a message via ICQ to ravetrax Send a message via AIM to ravetrax Send a message via Yahoo to ravetrax
have you tried the ampx player i tweaked out? it plays aac+, actually it plays anything that winamp can play. the only downfall is that it is active x and currently only works with ease on IE, firefox uses have to manually install the active x.

here is a sample: http://ravetrax.com/tune_in/ampx_player.php

Echo34 - A music related irc network for the socially challenged. [ website | chat now ]

Stream Solutions - The next level of Shoutcast server hosting! [ website | forums ]

RaveTrax - Its not a state of mind, Its a way of life. [ website | forums | chatroom ]
» Gen2 A/V Streams - NSV Video [vp6.2 & 64k aacPlus v2] - 64k aacPlus v2 - 24k aacPlus v2
» AMPX Player - Web based player that plays ALL streams! [Audio & Audio/Video]
» Other Streams - 160k MP3 - 64k MP3 - 24k MP3
ravetrax is offline   Reply With Quote
Old 28th October 2005, 15:00   #3
flick650
Junior Member
 
Join Date: May 2003
Posts: 25
Wow! Perfect, I wasn't expecting Firefox compatability to be perfect. I would mid though but i could write a guide to installing it for Firefox.

How do I get it, I will have a search for it.
flick650 is offline   Reply With Quote
Old 28th October 2005, 15:24   #4
ravetrax
Major Dude
 
ravetrax's Avatar
 
Join Date: Apr 2003
Location: Clearwater, FL ~~~~~~~~~~~~~~~ My name is Rava www.ravetrax.com
Posts: 541
Send a message via ICQ to ravetrax Send a message via AIM to ravetrax Send a message via Yahoo to ravetrax
http://ravetrax.com/tune_in/ampx_player.rar

thats the basic version i hand out... you can tweak it from there. if you need something a bit more custom let me know and we'll barter something out...

Echo34 - A music related irc network for the socially challenged. [ website | chat now ]

Stream Solutions - The next level of Shoutcast server hosting! [ website | forums ]

RaveTrax - Its not a state of mind, Its a way of life. [ website | forums | chatroom ]
» Gen2 A/V Streams - NSV Video [vp6.2 & 64k aacPlus v2] - 64k aacPlus v2 - 24k aacPlus v2
» AMPX Player - Web based player that plays ALL streams! [Audio & Audio/Video]
» Other Streams - 160k MP3 - 64k MP3 - 24k MP3
ravetrax is offline   Reply With Quote
Old 28th October 2005, 15:35   #5
flick650
Junior Member
 
Join Date: May 2003
Posts: 25
Thats perfect, I have it playing my stream right now. Its not up on the site as I want to customise it a bit.

I will leave the design they way it is. Thank you very much. Love your website by the way.
flick650 is offline   Reply With Quote
Old 28th October 2005, 15:47   #6
ravetrax
Major Dude
 
ravetrax's Avatar
 
Join Date: Apr 2003
Location: Clearwater, FL ~~~~~~~~~~~~~~~ My name is Rava www.ravetrax.com
Posts: 541
Send a message via ICQ to ravetrax Send a message via AIM to ravetrax Send a message via Yahoo to ravetrax
your welcome and thank you.

Echo34 - A music related irc network for the socially challenged. [ website | chat now ]

Stream Solutions - The next level of Shoutcast server hosting! [ website | forums ]

RaveTrax - Its not a state of mind, Its a way of life. [ website | forums | chatroom ]
» Gen2 A/V Streams - NSV Video [vp6.2 & 64k aacPlus v2] - 64k aacPlus v2 - 24k aacPlus v2
» AMPX Player - Web based player that plays ALL streams! [Audio & Audio/Video]
» Other Streams - 160k MP3 - 64k MP3 - 24k MP3
ravetrax is offline   Reply With Quote
Old 28th October 2005, 19:47   #7
zee100
Senior Member
 
Join Date: Nov 2003
Location: Germany
Posts: 169
this is a great player!!!

I have a question.
Could you point me to the part of the script where I can delete the video window of this player.
I only need the audio out of it and with the video window it's a little big.
Another question, is it possible to load the player in silence mode, so that the people have to click the play button before they can listen?

It's also working with firefox for me but not with opera.

Thanks.
zee100 is offline   Reply With Quote
Old 29th October 2005, 02:22   #8
ravetrax
Major Dude
 
ravetrax's Avatar
 
Join Date: Apr 2003
Location: Clearwater, FL ~~~~~~~~~~~~~~~ My name is Rava www.ravetrax.com
Posts: 541
Send a message via ICQ to ravetrax Send a message via AIM to ravetrax Send a message via Yahoo to ravetrax
to remove the video window... change the height and width to zeros in the output as in the sample code below...
code:
if (gecko) {
navigator.plugins.refresh(false);
document.writeln( "<OBJECT ID=\"IWinAmpActiveXG\" height=\"0\" width=\"0\" border=0 CLASSID=\"CLSID:FE0BD779-44EE-4A4B-AA2E-743C63F2E5E6\" codebase=\"http://pdl.stream.aol.com/downloads/aol/unagi/ampx_en_dl.cab\" version=\"-1,-1,-1,-1\"></OBJECT>" );
}
else {
document.writeln( "<OBJECT ID=\"IWinAmpActiveX\" height=\"0\" width=\"0\" border=0 CLASSID=\"CLSID:FE0BD779-44EE-4A4B-AA2E-743C63F2E5E6\" codebase=\"http://pdl.stream.aol.com/downloads/aol/unagi/ampx_en_dl.cab\" version=\"-1,-1,-1,-1\"></OBJECT>" );
}



to make the player load in silence mode, in the body tag find onload="volchange(7); and change the 7 to a 0.

understand?

---

also if somsone would be interested in writeing a small how-to for making this work in FF i would love to have a copy.

Echo34 - A music related irc network for the socially challenged. [ website | chat now ]

Stream Solutions - The next level of Shoutcast server hosting! [ website | forums ]

RaveTrax - Its not a state of mind, Its a way of life. [ website | forums | chatroom ]
» Gen2 A/V Streams - NSV Video [vp6.2 & 64k aacPlus v2] - 64k aacPlus v2 - 24k aacPlus v2
» AMPX Player - Web based player that plays ALL streams! [Audio & Audio/Video]
» Other Streams - 160k MP3 - 64k MP3 - 24k MP3
ravetrax is offline   Reply With Quote
Old 29th October 2005, 09:30   #9
zee100
Senior Member
 
Join Date: Nov 2003
Location: Germany
Posts: 169
Well, no, sorry.
Both won't do what I want.
I already changed the size to 0.
I like to use the player in a iFrame.
For this the frame size has still to be 270/360 to show the player. A smaler one won't show the player, only the background of the let's say placeholder for the video window.

If I change the volchange(7); to 0 it's still connecting to the stream when the page is loading and I can't change the volume anymore.
What I like to have is no connection to the stream when the page is loading. The connection to the stream should be done by the user/listener if they like. If they don't want it with this player it should not connecting to the stream by itself.

For FF well when I try the player the first time I did it on my local PC by opening the index.html with IE6.
I get a message to downloadand install a plugin or something from AOL.
Sorry I forget the right name.
I simply clicked yes and something was installingon the PC.
Then I try it with FF and it's also working on my PC without installing something else.
For Opera, it's not working.
Ican see the player but it's not connecting to the stream.

Well any other solution to make this player a little smaller or without the video window?

Alright, I find out how to use it without the video window.

Now I'm still looking for a solution to load the page without connecting to the stream at first.

Last edited by zee100; 29th October 2005 at 10:47.
zee100 is offline   Reply With Quote
Old 30th October 2005, 17:34   #10
JWolf
Junior Member
 
Join Date: Jul 2001
Location: Chestnut Hill, MA
Posts: 6
Is there a good JAVA player that works with both Firefox and IE? That would be a better solution I think. I'd love to try a good JAVA solution for our radio station.
JWolf is offline   Reply With Quote
Old 30th October 2005, 18:09   #11
zee100
Senior Member
 
Join Date: Nov 2003
Location: Germany
Posts: 169
This little player is also working with Firefox!!!
You only need a little direct x plugin.
You will get this from AOL if you try it first with IE.
If you don't use it with IE get the plugin from
http://pdl.stream.aol.com/downloads/...ampx_en_dl.cab
Unzip the file, right click the .inf and choose install.
Now test that player with Firefox again.
Only Opera won't play the stream for now.

PS: It's only for Windows. Linux and Mac don't use direct x. And that's need for the player.
This player will also play aac+ streams on a Windows PC never used Winamp or other player with a aac+ codec.
zee100 is offline   Reply With Quote
Old 31st October 2005, 14:55   #12
ravetrax
Major Dude
 
ravetrax's Avatar
 
Join Date: Apr 2003
Location: Clearwater, FL ~~~~~~~~~~~~~~~ My name is Rava www.ravetrax.com
Posts: 541
Send a message via ICQ to ravetrax Send a message via AIM to ravetrax Send a message via Yahoo to ravetrax
you will also need to look down in the html and adjust the hieghts and widths for the video display box part... make those 0 or remove the html sectiosn for that box...

Echo34 - A music related irc network for the socially challenged. [ website | chat now ]

Stream Solutions - The next level of Shoutcast server hosting! [ website | forums ]

RaveTrax - Its not a state of mind, Its a way of life. [ website | forums | chatroom ]
» Gen2 A/V Streams - NSV Video [vp6.2 & 64k aacPlus v2] - 64k aacPlus v2 - 24k aacPlus v2
» AMPX Player - Web based player that plays ALL streams! [Audio & Audio/Video]
» Other Streams - 160k MP3 - 64k MP3 - 24k MP3
ravetrax is offline   Reply With Quote
Old 31st October 2005, 15:02   #13
zee100
Senior Member
 
Join Date: Nov 2003
Location: Germany
Posts: 169
Yes, I know now, thanks.

Now I'm still looking for a solution to load the page without connecting to the stream at first.
zee100 is offline   Reply With Quote
Old 31st December 2005, 04:23   #14
bcamp
Junior Member
 
Join Date: Dec 2005
Posts: 1
Is there someway to get the ampx player to play MP4? I was able to get it to play raw aac+ files OK. However, if I put it in a MP4 container using Foobar2000 or mp4box, it won't play the stream. Winamp is able to play it.

Thanks!
bcamp is offline   Reply With Quote
Old 16th January 2006, 10:35   #15
The Hedgehog
Junior Member
 
Join Date: Jan 2006
Posts: 6
It seems the ampx player doesn't compatible with Firefox 1.5... have somebody figured it out why?
The Hedgehog is offline   Reply With Quote
Old 16th January 2006, 17:57   #16
NetuserFr
Junior Member
 
Join Date: Jan 2006
Posts: 26
Is this means that the peoples who dont have Winamp installed on there computer they can still listen to the Radio ? Greatt if Yes
NetuserFr is offline   Reply With Quote
Old 23rd January 2006, 13:45   #17
The Hedgehog
Junior Member
 
Join Date: Jan 2006
Posts: 6
Quote:
Originally posted by NetuserFr
Is this means that the peoples who dont have Winamp installed on there computer they can still listen to the Radio ? Greatt if Yes
It's so, but the script doesn't works in Firefox 1.5.

Someone figured it out why?
The Hedgehog is offline   Reply With Quote
Old 23rd January 2006, 14:53   #18
robertr994
Member
 
Join Date: Feb 2004
Location: Waco Tx
Posts: 78
Send a message via AIM to robertr994 Send a message via Yahoo to robertr994
Quote:
Originally posted by ravetrax
have you tried the ampx player i tweaked out? it plays aac+, actually it plays anything that winamp can play. the only downfall is that it is active x and currently only works with ease on IE, firefox uses have to manually install the active x.

here is a sample: http://ravetrax.com/tune_in/ampx_player.php
Now THATS cool, how did you get the marquee and mutiple streams?

http://www.kwtfworldwide.com
Join Us in the Chat
robertr994 is offline   Reply With Quote
Old 6th February 2006, 04:59   #19
TheJazzMaster
Junior Member
 
Join Date: Feb 2006
Location: Seminole, FL
Posts: 12
aacPlus audio with ampx player

Hello ravetrax

Pretty cool website.
Have a question about the ampx player.
I would like to embed this player in our site. I have tried a couple of the examples but no luck. The player comes up fine on the page but does not play our stream.
Our stream is via SHOUTcast and is the standard IP with port. xxx.xxx.xx.xxx: port. We are running aacPlus audio at 48k.
I have downloaded the ampx_player and also the activex.zip which has the html file and graphics to build the player. i placed the IP and port where it should go but nothing.
It looks so simple to set up but I'm probably missing something to play our stream.
By the way I'm just up the road from you in Seminole.

Thanks
TheJazzMaster is offline   Reply With Quote
Old 15th February 2006, 16:27   #20
F1SH3_RAVER
Junior Member
 
Join Date: Jun 2005
Location: My own little world
Posts: 19
Send a message via AIM to F1SH3_RAVER
Hello.

Ravetrax: Way to go on the tweaking of the AMPx Player...

I run www.NRGImpact.com and the associated Radio station. but due to bandwidth constrictions, we can only broadcast at 24kbps AAC+ (which is good quality regardless) We are looking to be able to support listeners who like Itunes, or RealPlayer, or even WMP. This tool would benefit us greatly. I cannot however get it to work. The page displays properly, but doesn't play.

Any thoughts?
Might I have missed something?

Thanks
Fisher
F1SH3_RAVER is offline   Reply With Quote
Old 16th February 2006, 14:38   #21
F1SH3_RAVER
Junior Member
 
Join Date: Jun 2005
Location: My own little world
Posts: 19
Send a message via AIM to F1SH3_RAVER
Ok, it works for MP3

Alright,

During my testing last night (while we were broadcasting.... we only do live broadcasts right now... still working on getting recording automation setup... anyone got tips?) it worked... but we were using mp3 not my prefered method of AAC+ (for obvious reasons) and it worked ok, with the exception that it didn't display the stream info.

Here's my html file (it doesn't have to be php does it?)

[Contents of index.html::]
<html>
<head>
<title>NRG IMPACT Streaming Audio Player [Conntroller Developed by Rava @ RaveTrax.com] </title>
<!--//XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX//-->
<!--// **||** Copyright © 2000 - RaveTrax.com/E. Crispen - All Rights Reserved **||** //-->
<!--// **||** Active X AOL Player Viewer is property of and copyrighted to AOL **||** //-->
<!--// **||** AOL Player Controler was designed by Rava for use by RaveTrax **||** //-->
<!--// **||** HTML was Hand Scripted By: Rava (E. Crispen) - Do Not Duplicate **||** //-->
<!--// **||** For any questions concerning webdesign or coding, send mail to: **||** //-->
<!--// **||** [--- info @ ravetrax.com or rava @ ravetrax.com ---] **||** //-->
<!--//XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX//-->
<script language=javascript>
<!--// my remodified player scripts
vpstatus=0;
if (document.images) {
zap=new Array(15);
zap[0]=new Image; zap[0].src="voldis_on.gif";
zap[1]=new Image; zap[1].src="voldis_off.gif";
zap[2]=new Image; zap[2].src="voldis_mute.gif";
zap[3]=new Image; zap[3].src="stop_on.gif";
zap[4]=new Image; zap[4].src="stop_off.gif";
zap[5]=new Image; zap[5].src="play_on.gif";
zap[6]=new Image; zap[6].src="play_off.gif";
zap[7]=new Image; zap[7].src="pause_on.gif";
zap[8]=new Image; zap[8].src="pause_off.gif";
zap[9]=new Image; zap[9].src="mute_on.gif";
zap[10]=new Image; zap[10].src="mute_off.gif";
zap[11]=new Image; zap[11].src="volup_up.gif";
zap[12]=new Image; zap[12].src="volup_dwn.gif";
zap[13]=new Image; zap[13].src="voldwn_up.gif";
zap[14]=new Image; zap[14].src="voldwn_dwn.gif";
}
function setvolume(vol) { winampx.Volume=vol; lastvol=0; }
function volchange(volnum) {
if (volnum == "0") { muted=0; setvolume(0); document.voldis_1.src=zap[2].src; document.voldis_2.src=zap[2].src; document.voldis_3.src=zap[2].src; document.voldis_4.src=zap[2].src; document.voldis_5.src=zap[2].src; document.voldis_6.src=zap[2].src; document.voldis_7.src=zap[2].src; document.voldis_8.src=zap[2].src; document.voldis_9.src=zap[2].src; document.voldis_10.src=zap[2].src; }
if (volnum == "1") { muted=1; cutvol=1; setvolume(25); document.voldis_1.src=zap[0].src; document.voldis_2.src=zap[1].src; document.voldis_3.src=zap[1].src; document.voldis_4.src=zap[1].src; document.voldis_5.src=zap[1].src; document.voldis_6.src=zap[1].src; document.voldis_7.src=zap[1].src; document.voldis_8.src=zap[1].src; document.voldis_9.src=zap[1].src; document.voldis_10.src=zap[1].src; }
if (volnum == "2") { muted=1; cutvol=2; setvolume(50); document.voldis_1.src=zap[0].src; document.voldis_2.src=zap[0].src; document.voldis_3.src=zap[1].src; document.voldis_4.src=zap[1].src; document.voldis_5.src=zap[1].src; document.voldis_6.src=zap[1].src; document.voldis_7.src=zap[1].src; document.voldis_8.src=zap[1].src; document.voldis_9.src=zap[1].src; document.voldis_10.src=zap[1].src; }
if (volnum == "3") { muted=1; cutvol=3; setvolume(75); document.voldis_1.src=zap[0].src; document.voldis_2.src=zap[0].src; document.voldis_3.src=zap[0].src; document.voldis_4.src=zap[1].src; document.voldis_5.src=zap[1].src; document.voldis_6.src=zap[1].src; document.voldis_7.src=zap[1].src; document.voldis_8.src=zap[1].src; document.voldis_9.src=zap[1].src; document.voldis_10.src=zap[1].src; }
if (volnum == "4") { muted=1; cutvol=4; setvolume(100); document.voldis_1.src=zap[0].src; document.voldis_2.src=zap[0].src; document.voldis_3.src=zap[0].src; document.voldis_4.src=zap[0].src; document.voldis_5.src=zap[1].src; document.voldis_6.src=zap[1].src; document.voldis_7.src=zap[1].src; document.voldis_8.src=zap[1].src; document.voldis_9.src=zap[1].src; document.voldis_10.src=zap[1].src; }
if (volnum == "5") { muted=1; cutvol=5; setvolume(125); document.voldis_1.src=zap[0].src; document.voldis_2.src=zap[0].src; document.voldis_3.src=zap[0].src; document.voldis_4.src=zap[0].src; document.voldis_5.src=zap[0].src; document.voldis_6.src=zap[1].src; document.voldis_7.src=zap[1].src; document.voldis_8.src=zap[1].src; document.voldis_9.src=zap[1].src; document.voldis_10.src=zap[1].src; }
if (volnum == "6") { muted=1; cutvol=6; setvolume(150); document.voldis_1.src=zap[0].src; document.voldis_2.src=zap[0].src; document.voldis_3.src=zap[0].src; document.voldis_4.src=zap[0].src; document.voldis_5.src=zap[0].src; document.voldis_6.src=zap[0].src; document.voldis_7.src=zap[1].src; document.voldis_8.src=zap[1].src; document.voldis_9.src=zap[1].src; document.voldis_10.src=zap[1].src; }
if (volnum == "7") { muted=1; cutvol=7; setvolume(175); document.voldis_1.src=zap[0].src; document.voldis_2.src=zap[0].src; document.voldis_3.src=zap[0].src; document.voldis_4.src=zap[0].src; document.voldis_5.src=zap[0].src; document.voldis_6.src=zap[0].src; document.voldis_7.src=zap[0].src; document.voldis_8.src=zap[1].src; document.voldis_9.src=zap[1].src; document.voldis_10.src=zap[1].src; }
if (volnum == "8") { muted=1; cutvol=8; setvolume(200); document.voldis_1.src=zap[0].src; document.voldis_2.src=zap[0].src; document.voldis_3.src=zap[0].src; document.voldis_4.src=zap[0].src; document.voldis_5.src=zap[0].src; document.voldis_6.src=zap[0].src; document.voldis_7.src=zap[0].src; document.voldis_8.src=zap[0].src; document.voldis_9.src=zap[1].src; document.voldis_10.src=zap[1].src; }
if (volnum == "9") { muted=1; cutvol=9; setvolume(225); document.voldis_1.src=zap[0].src; document.voldis_2.src=zap[0].src; document.voldis_3.src=zap[0].src; document.voldis_4.src=zap[0].src; document.voldis_5.src=zap[0].src; document.voldis_6.src=zap[0].src; document.voldis_7.src=zap[0].src; document.voldis_8.src=zap[0].src; document.voldis_9.src=zap[0].src; document.voldis_10.src=zap[1].src; }
if (volnum == "10") { muted=1; cutvol=10; setvolume(255); document.voldis_1.src=zap[0].src; document.voldis_2.src=zap[0].src; document.voldis_3.src=zap[0].src; document.voldis_4.src=zap[0].src; document.voldis_5.src=zap[0].src; document.voldis_6.src=zap[0].src; document.voldis_7.src=zap[0].src; document.voldis_8.src=zap[0].src; document.voldis_9.src=zap[0].src; document.voldis_10.src=zap[0].src; }
}
function imgchange(imgnum) {
if (imgnum == "play") { vpstatus=1; document.vpstop.src=zap[4].src; document.vpplay.src=zap[5].src; document.vppaus.src=zap[8].src; }
if (imgnum == "paus") { vpstatus=2; document.vpstop.src=zap[4].src; document.vpplay.src=zap[6].src; document.vppaus.src=zap[7].src; }
if (imgnum == "stop") { vpstatus=3; document.vpstop.src=zap[3].src; document.vpplay.src=zap[6].src; document.vppaus.src=zap[8].src; }
if (imgnum == "muta") { vpstatus=4; document.vpmute.src=zap[10].src; }
if (imgnum == "mutb") { vpstatus=5; document.vpmute.src=zap[9].src; }
if (imgnum == "vola") { vpstatus=3; document.vpvolup.src=zap[11].src; }
if (imgnum == "volb") { vpstatus=3; document.vpvolup.src=zap[12].src; }
if (imgnum == "volc") { vpstatus=3; document.vpvoldwn.src=zap[13].src; }
if (imgnum == "vold") { vpstatus=3; document.vpvoldwn.src=zap[14].src; }
}
function playitnow() { if (vpstatus == 1) { } else { winampx.Play(); RefreshTitle(); RefreshPlaylist(); imgchange('play'); } }
function pausitnow() { if (vpstatus == 2) { playitnow() } else { winampx.Pause(); imgchange('paus'); } }
function stopitnow() { if (vpstatus == 3) { } else { winampx.Stop(); RefreshPlaylist(); imgchange('stop'); } }
function playprev() { winampx.PreviousTrack(); RefreshTitle(); RefreshPlaylist(); }
function playnext() { winampx.NextTrack(); RefreshTitle(); RefreshPlaylist(); }
function muteitnow() {
if (muted == 0) { volchange(cutvol); imgchange('muta'); }
else { volchange(0); imgchange('mutb'); }
}
function volup() {
if (cutvol == 10) { document.voldis_10.src=zap[2].src; }
else { cutvol++; volchange(cutvol);}
}
function voldwn() {
if (cutvol == 1) { document.voldis_1.src=zap[2].src; }
else { cutvol--; volchange(cutvol); }
}
//-->
</script>
<script for="IWinAmpActiveXG" event="WinampMsgEvent(a)">onWinampMSGEvent( a );</script>
<script for="IWinAmpActiveXG" event="WinampStatus(a,b)">onWinampStatus( a, b );</script>
<script for="IWinAmpActiveXG" event="WinampMetaData(s,n)">onWinampMetaData( s, n );</script>
</head>
<body onload="volchange(7); setTimeout(playitnow, 50);" onunload="DeInit();" bgcolor="#000000">
<table cellpadding="0" cellspacing="0" border="0" bgcolor="#343434">
<tr>
<td bgcolor="#000000" width="0" height="0">
<table cellpadding="0" cellspacing="0" border="0"><tr><td>
<script language=javascript>
<!--// original player scripts //-->
var leaktest = 1;
<!--//xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx//-->

<!--// enter stream location/url here //-->
var leakurl = "http://68.61.200.164:8000/listen.pls";

<!--//xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx//-->
var winampx;
var hwndset = 0;
var autoscroll = 1;
var gecko = !(navigator.appName == 'Microsoft Internet Explorer');
var initted = 0;
if (gecko) {
navigator.plugins.refresh(false);
document.writeln( "<OBJECT ID=\"IWinAmpActiveXG\" height=240 width=320 border=0 CLASSID=\"CLSID:FE0BD779-44EE-4A4B-AA2E-743C63F2E5E6\" codebase=\"http://pdl.stream.aol.com/downloads/aol/unagi/ampx_en_dl.cab\" version=\"-1,-1,-1,-1\"></OBJECT>" );
}
else {
document.writeln( "<OBJECT ID=\"IWinAmpActiveX\" height=240 width=320 border=0 CLASSID=\"CLSID:FE0BD779-44EE-4A4B-AA2E-743C63F2E5E6\" codebase=\"http://pdl.stream.aol.com/downloads/aol/unagi/ampx_en_dl.cab\" version=\"-1,-1,-1,-1\"></OBJECT>" );
}
function mozIAmpXEvents() { }
mozIAmpXEvents.prototype = {
WinampMsgEvent: function ( msgID ) {},
WinampStatus: function( msgID, comp ) {},
WinampMetaData: function( data, size ) {},
QueryInterface: function(iid) {
if (!iid.equals(Components.interfaces.Unagi2MozEvents)&&
!iid.equals(Components.interfaces.nsISupports)) {
throw Components.results.NS_ERROR_NO_INTERFACE;
}
return this;
},
val: "<devault value>"
}
WINAMPX_EVENT_FILE_END = 1;
WINAMPX_EVENT_TRACK_CHANGED = 2;
WINAMPX_EVENT_LAUNCH_URL = 3;
WINAMPX_EVENT_TRACK_INFO_CHANGED = 4;
WINAMPX_EVENT_VIDEO_WND_REQUESTED = 5;
WINAMPX_EVENT_VIDEO_WND_SIZE_CHANGED = 6;
WINAMPX_EVENT_VIDEO_WND_DONE = 7;
WINAMPX_EVENT_HWND_READY = 8;
WINAMPX_EVENT_NO_SOUNDCARD_AVL = 100;
WINAMPX_EVENT_NO_PLUGINS_AVL = 101;
WINAMPX_EVENT_CANT_PLAY_FILE = 102;
WINAMPX_EVENT_WMA_FILE_EXPIRED = 103;
WINAMPX_EVENT_FILE_NOT_FOUND = 104;
WINAMPX_EVENT_PLAYLIST_NO_FILES_PRESENT = 105;
WINAMPX_EVENT_PLAYLIST_EMPTY = 106;
WINAMPX_EVENT_REAL_ENGINE_MISSING = 107;
WINAMPX_EVENT_CORRUPT_FILE = 108,
WINAMPX_EVENT_UNSUPPORTED_FORMAT = 109;
WINAMPX_EVENT_QUICKTIME_ENGINE_MISSING = 110,
WINAMPX_EVENT_REAL_ENGINE_ERROR = 111,
WINAMPX_EVENT_FILE_SYSTEM_CHANGE = 112
WINAMPX_STATUS_INIT_WININET = 200;
WINAMPX_STATUS_OPENING_URL = 201;
WINAMPX_STATUS_HTTP_ERROR = 202;
WINAMPX_STATUS_DOWNLOADING_URL = 203;
WINAMPX_STATUS_URL_DOWNLOADED = 204;
WINAMPX_STATUS_CANNOT_CREATE_TEMP_FILE = 205;
WINAMPX_STATUS_CANNOT_OPEN_URL = 206;
WINAMPX_STATUS_CONNECTION_LOST = 207;
WINAMPX_STATUS_PREBUFFERING = 208;
WINAMPX_STATUS_RESYNC = 209;
WINAMPX_STATUS_BROADCAST_INTERRUPT = 210;
WINAMPX_STATUS_BROADCAST_TERMINATE = 211;
WINAMPX_STATUS_DOLBY_ERROR = 212;
WINAMPX_STATUS_TRANSFER_RATE = 213;
WINAMPX_STATUS_STREAM_BEGIN = 214;
WINAMPX_STATUS_LENGTH_CHANGE = 215;
WINAMPX_STATUS_VIDEO_KEYPRESS = 216;
WINAMPX_STATUS_VIDEO_SYSKEYPRESS = 217;
WINAMPX_STATUS_SERVER_RESTART = 218;
WINAMPX_STATUS_SERVER_CRASH = 219;
WINAMPX_STATUS_ERROR_KILLING_THREAD = 220;
WINAMPX_STATUS_ADVANCED_PARSE_ERROR = 221;
WINAMPX_STATUS_SERVER_SWAPPED = 222;
STATUS_STOPED = 0;
STATUS_PLAYING = 1;
STATUS_PAUSED = 2;
STATUS_BUFFERING = 3;
var clockPrebuffer;
function onWinampMSGEvent(a) {
switch(a) {
case WINAMPX_EVENT_HWND_READY:
var hwnd = winampx.hwnd;
winampx.SetVideoHWND( hwnd );
if ( leaktest ) winampx.Play();
break;
case WINAMPX_EVENT_VIDEO_WND_DONE:
winampx.RemoveFullScreen();
case WINAMPX_EVENT_FILE_SYSTEM_CHANGE:
RefreshTitle();
RefreshPlaylist();
break;
default:
break;
}
}
var clockPrebuffer;
function onWinampStatus( a, b ) {
if (leaktest)
return;
switch( a ) {
default:
break;
}
}
function onWinampMetaData( s, n ) {
if ( leaktest )
return;
}
function ClearPlaylist() {
winampx.ClearPlaylist();
RefreshPlaylist();
}
function RefreshTitle() {
var a = { value : "" };
var b = { value : "" };
winampx.GetCurrentPlaylistItem( a, b );
}
function onClickFullscreen() { winampx.GoFullScreen(); }
function RefreshPlaylist() {
var i;
var max = { value : "" };
var file_name = { value : "" } ;
var title = { value : "" };
var lng = { value : "" };
var is_id3 = { value : "" };
var title = { value : "" };
var artist = { value : "" };
var album = { value : "" };
var comment = { value : "" };
var y = { value : "" };
var genre = { value : "" };
var bitrate = { value : "" };
var srate = { value : "" };
var stereo = { value : "" };
var vbr = { value : "" };
max = winampx.Nb_Playlist_Items;
for ( i = 1; i <= max; i++ ) {
winampx.GetPlaylistItem( i-1, file_name, title, lng );
winampx.GetItemHeaderInfos( file_name.value,is_id3,title,lng,artist,album,comment,y,genre,bitrate,srate,stereo,vbr );
if ( bitrate.value != 0 ) { }
if ( is_id3.value == 1 ) { }
if ( winampx.PlaylistPos == i-1 ) { }
}
}
var lastvol = 0;
function DeInit() { winampx.Deinitialize(); }
function stopStartPlayback() { winampx.Stop(); winampx.Play(); setTimeout( stopStartPlayback, 4000 ); }
events = new mozIAmpXEvents();
events.WinampMsgEvent = onWinampMSGEvent;
events.WinampStatus = onWinampStatus;
events.WinampMetaData = onWinampMetaData;
if (!gecko) { winampx = document.getElementById("IWinAmpActiveX"); }
else { winampx = document.getElementById("IWinAmpActiveXG"); }
winampx.SetName("NRG IMPACT Streaming Audio");
if (!gecko) winampx.setCallback( events );
winampx.SetCrossInstanceControl(1);
winampx.SetVideoAutoSize(0);
winampx.SetVideoLogo(0);
winampx.SetRetryParams(5,2000);
winampx.SetFallbackParams(2,300);
winampx.SetUseCustomDRMURL( 1 );
if (leaktest) {
winampx.AppendFileToPlaylist( leakurl );
winampx.Repeat = 1;
}
</script>
</td></tr></table>
</td>
</tr>
<tr>
<td bgcolor="#000000" valign="bottom" align="center" width="320" height="34">
<table cellpadding="0" cellspacing="0" border="0" background="controller_bg.gif">
<tr>
<td><img src="void.gif" width="41" height="34"></td>
<td valign="middle" align="center" width="25">
<table cellpadding="0" cellspacing="0" border="0">
<tr><td><img src="void.gif" width="25" height="6"></td></tr>
<tr><td><a title="Stop Audio Stream" onmousedown="stopitnow();"><img name="vpstop" src="stop_off.gif" width="25" height="21" border="0"></a></td></tr>
<tr><td><img src="void.gif" width="25" height="7"></td></tr>
</table>
</td>
<td><img src="void.gif" width="2" height="34"></td>
<td valign="middle" align="center" width="41">
<table cellpadding="0" cellspacing="0" border="0">
<tr><td><img src="void.gif" width="41" height="4"></td></tr>
<tr><td><a title="Play Audio Stream" onmousedown="playitnow();"><img name="vpplay" src="play_off.gif" width="41" height="26" border="0"></a></td></tr>
<tr><td><img src="void.gif" width="41" height="4"></td></tr>
</table>
</td>
<td><img src="void.gif" width="2" height="34"></td>
<td valign="middle" align="center" width="25">
<table cellpadding="0" cellspacing="0" border="0">
<tr><td><img src="void.gif" width="25" height="6"></td></tr>
<tr><td><a title="Pause Audio Stream" onmousedown="pausitnow();"><img name="vppaus" src="pause_off.gif" width="25" height="21" border="0"></a></td></tr>
<tr><td><img src="void.gif" width="25" height="7"></td></tr>
</table>
</td>
<td><img src="void.gif" width="15" height="34"></td>
<td valign="middle" align="center">
<table cellpadding="0" cellspacing="0" border="0">
<tr><td><img src="void.gif" width="50" height="12"></td></tr>
<tr><td><a title="Mute Volume" onmousedown="muteitnow();"><img name="vpmute" src="mute_off.gif" width="50" height="15" border="0"></a></td></tr>
<tr><td><img src="void.gif" width="50" height="7"></td></tr>
</table>
</td>
<td><img src="void.gif" width="7" height="34"></td>
<td valign="middle" align="center" width="61">
<table cellpadding="0" cellspacing="0" border="0">
<tr><td><img src="void.gif" width="61" height="11"></td></tr>
<tr><td>
<table cellpadding="0" cellspacing="1" border="0">
<tr>
<td valign="bottom"><img src="voldis_top.gif" width="5" height="1"><br><img name="voldis_1" src="voldis_off.gif" width="5" height="3"><br><img src="voldis_bot.gif" width="5" height="1"></td>
<td valign="bottom"><img src="voldis_top.gif" width="5" height="1"><br><img name="voldis_2" src="voldis_off.gif" width="5" height="4"><br><img src="voldis_bot.gif" width="5" height="1"></td>
<td valign="bottom"><img src="voldis_top.gif" width="5" height="1"><br><img name="voldis_3" src="voldis_off.gif" width="5" height="5"><br><img src="voldis_bot.gif" width="5" height="1"></td>
<td valign="bottom"><img src="voldis_top.gif" width="5" height="1"><br><img name="voldis_4" src="voldis_off.gif" width="5" height="6"><br><img src="voldis_bot.gif" width="5" height="1"></td>
<td valign="bottom"><img src="voldis_top.gif" width="5" height="1"><br><img name="voldis_5" src="voldis_off.gif" width="5" height="7"><br><img src="voldis_bot.gif" width="5" height="1"></td>
<td valign="bottom"><img src="voldis_top.gif" width="5" height="1"><br><img name="voldis_6" src="voldis_off.gif" width="5" height="8"><br><img src="voldis_bot.gif" width="5" height="1"></td>
<td valign="bottom"><img src="voldis_top.gif" width="5" height="1"><br><img name="voldis_7" src="voldis_off.gif" width="5" height="9"><br><img src="voldis_bot.gif" width="5" height="1"></td>
<td valign="bottom"><img src="voldis_top.gif" width="5" height="1"><br><img name="voldis_8" src="voldis_off.gif" width="5" height="10"><br><img src="voldis_bot.gif" width="5" height="1"></td>
<td valign="bottom"><img src="voldis_top.gif" width="5" height="1"><br><img name="voldis_9" src="voldis_off.gif" width="5" height="11"><br><img src="voldis_bot.gif" width="5" height="1"></td>
<td valign="bottom"><img src="voldis_top.gif" width="5" height="1"><br><img name="voldis_10" src="voldis_off.gif" width="5" height="12"><br><img src="voldis_bot.gif" width="5" height="1"></td>
</tr>
</table>
</td></tr>
<tr><td><img src="void.gif" width="61" height="6"></td></tr>
</table>
</td>
<td><img src="void.gif" width="7" height="34"></td>
<td valign="middle" align="center">
<table cellpadding="0" cellspacing="0" border="0">
<tr><td><img src="void.gif" width="16" height="12"></td></tr>
<tr><td><a title="Turn Volume Down" onmousedown="voldwn(); imgchange('vold');" onmouseup="imgchange('volc');"><img name="vpvoldwn" src="voldwn_up.gif" width="16" height="15" border="0"></a></td></tr>
<tr><td><img src="void.gif" width="16" height="7"></td></tr>
</table>
</td>
<td><img src="void.gif" width="2" height="34"></td>
<td valign="middle" align="center">
<table cellpadding="0" cellspacing="0" border="0">
<tr><td><img src="void.gif" width="16" height="12"></td></tr>
<tr><td><a title="Turn Volume Up" onmousedown="volup(); imgchange('volb');" onmouseup="imgchange('vola');"><img name="vpvolup" src="volup_up.gif" width="16" height="15" border="0"></a></td></tr>
<tr><td><img src="void.gif" width="16" height="7"></td></tr>
</table>
</td>
<td><img src="void.gif" width="10" height="34"></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>

If Anyone can help me out it would be greatly appreciated...Also, it seems that there was a small problem with it's buffer... is there a way to increase this?

Thanks,
Zinger
F1SH3_RAVER is offline   Reply With Quote
Old 17th February 2006, 00:58   #22
TheJazzMaster
Junior Member
 
Join Date: Feb 2006
Location: Seminole, FL
Posts: 12
F1SH3_RAVER

Thanks for posting the html. WORKS GREAT With aacPLUS 48k!!!
Just one quick question. Am I missing something with Firefox? The html works with Explorer and Netscape but not Firefox. Even the location of the player on the page comes up in a different spot in Firefox. Any tweaks to get it to work in all three browsers? If not, Oh Well for the Firefox listeners. This is Great. Now we can have our listeners just go to our site and just click play and not have to jump through hoops to install Winamp and VLC to listen.

Thanks Again....
TheJazzMaster is offline   Reply With Quote
Old 17th February 2006, 05:46   #23
TheJazzMaster
Junior Member
 
Join Date: Feb 2006
Location: Seminole, FL
Posts: 12
P.S.

The Player Is Still Running GREAT!

To see what your player does in our pop-up go to
New aacPLUS player test

To see what our WMP player pop-up looks like.
Go to www.wcjz.com and Click to Listen 64k mp3Pro.

If either of the players do not play the stream, this due to our service provider working on the system. We have had major problems in the area with our Internet provider.

Again Thanks for the help. This is a great player

Last edited by TheJazzMaster; 17th February 2006 at 07:26.
TheJazzMaster is offline   Reply With Quote
Old 17th February 2006, 13:53   #24
F1SH3_RAVER
Junior Member
 
Join Date: Jun 2005
Location: My own little world
Posts: 19
Send a message via AIM to F1SH3_RAVER
OK, my knowledge of this tool is still very limited. I am not the brains behind this one... we can all thank Rava from Ravetrax for the port/conversion/original code/design....

No one has helped answer my question though...

Buffer size? Can it be increased?

Stream Data... do I need to setup the xml parsing myself? or should this template do it for me?

(These are prolly dumb questions... but oh well..)

Any help is appreciated.

www.nrgimpact.com
F1SH3_RAVER is offline   Reply With Quote
Old 20th February 2006, 15:47   #25
ravetrax
Major Dude
 
ravetrax's Avatar
 
Join Date: Apr 2003
Location: Clearwater, FL ~~~~~~~~~~~~~~~ My name is Rava www.ravetrax.com
Posts: 541
Send a message via ICQ to ravetrax Send a message via AIM to ravetrax Send a message via Yahoo to ravetrax
Quote:
Originally posted by F1SH3_RAVER
OK, my knowledge of this tool is still very limited. I am not the brains behind this one... we can all thank Rava from Ravetrax for the port/conversion/original code/design....

No one has helped answer my question though...

Buffer size? Can it be increased?

Stream Data... do I need to setup the xml parsing myself? or should this template do it for me?

(These are prolly dumb questions... but oh well..)

Any help is appreciated.

www.nrgimpact.com

sorry been away for some time... might even disappear again... lol

buffer size increase, not sure.
xml can be done by yourself.

Echo34 - A music related irc network for the socially challenged. [ website | chat now ]

Stream Solutions - The next level of Shoutcast server hosting! [ website | forums ]

RaveTrax - Its not a state of mind, Its a way of life. [ website | forums | chatroom ]
» Gen2 A/V Streams - NSV Video [vp6.2 & 64k aacPlus v2] - 64k aacPlus v2 - 24k aacPlus v2
» AMPX Player - Web based player that plays ALL streams! [Audio & Audio/Video]
» Other Streams - 160k MP3 - 64k MP3 - 24k MP3
ravetrax is offline   Reply With Quote
Old 20th February 2006, 19:21   #26
F1SH3_RAVER
Junior Member
 
Join Date: Jun 2005
Location: My own little world
Posts: 19
Send a message via AIM to F1SH3_RAVER
Ok, cool... Thanks again for the tool.

www.nrgimpact.com
(Live broadcasts every Monday, Wednesday, Thursday, and Friday 7-8 PM Eastern!)
F1SH3_RAVER is offline   Reply With Quote
Old 28th February 2006, 00:50   #27
NetuserFr
Junior Member
 
Join Date: Jan 2006
Posts: 26
Do some people noticed or haev a problem , of speeding up of a song on each track when it starts ? I explian every new track after about 10 sec the Song is speeded up for 5 sec likt fast fowarding and then it become normal speed, it do it for each track, I tried Acc+, Mp3 differnt rate, nohting to do it is still doing this, cehck with otehr computer it is same .

Also anotehr question what is a Code to get song ID3 title, artist album been played ? and what is next song.

Thnaks for your help
NetuserFr is offline   Reply With Quote
Old 1st March 2006, 09:24   #28
The Hedgehog
Junior Member
 
Join Date: Jan 2006
Posts: 6
Still my only problem is that the player doesn't works in Mozilla Firefox... someone?
The Hedgehog is offline   Reply With Quote
Old 1st March 2006, 12:56   #29
F1SH3_RAVER
Junior Member
 
Join Date: Jun 2005
Location: My own little world
Posts: 19
Send a message via AIM to F1SH3_RAVER
In order to get the player to work with Firefox, you have to manually install the ActiveX components... How exactly that is done, I am not quite sure. I believe I saw it posted elsewhere on these forums.

Not sure why there is the speed problem.
F1SH3_RAVER is offline   Reply With Quote
Old 2nd March 2006, 11:58   #30
Bloop
Junior Member
 
Join Date: Mar 2006
Posts: 12
wonderful plugin!

But... Can I display current song?
And when I open this page, can the player set to STOP (no play or mute)


Thank you very much!

Bloop
Bloop is offline   Reply With Quote
Old 2nd March 2006, 12:47   #31
Bloop
Junior Member
 
Join Date: Mar 2006
Posts: 12
Quote:
Originally posted by Bloop
And when I open this page, can the player set to STOP (no play or mute)
ok, for this I changed
code:
<body onload="volchange(7); setTimeout(playitnow, 50);" onunload="DeInit();" bgcolor="#000000">


with
code:
<body onload="volchange(7); stopitnow();" onunload="DeInit();" bgcolor="#000000">



My last problem is display current song, current DJ, radio name...

... and Firefox too
Bloop is offline   Reply With Quote
Old 2nd March 2006, 18:24   #32
Bloop
Junior Member
 
Join Date: Mar 2006
Posts: 12
Ok, I solved every problem...

only Firefox don't work!!!
Bloop is offline   Reply With Quote
Old 2nd March 2006, 18:38   #33
NetuserFr
Junior Member
 
Join Date: Jan 2006
Posts: 26
Bloop how you did for song title , singer, album and next song infos ?

Thanks
NetuserFr is offline   Reply With Quote
Old 2nd March 2006, 20:31   #34
Bloop
Junior Member
 
Join Date: Mar 2006
Posts: 12
Netuser, I don't insert title, singer, album and other info because I use a mod for invision

Even if I would insert these info to use this player outside the invision forum...

Can someone help us?
Bloop is offline   Reply With Quote
Old 2nd March 2006, 23:22   #35
NetuserFr
Junior Member
 
Join Date: Jan 2006
Posts: 26
I know how to get infos but it is a winamp plugin, what i was intressted in was if Ampx can direclt get infos, I am tired now i will help you for that plugin it is very easy to do :P, tommorow
NetuserFr is offline   Reply With Quote
Old 3rd March 2006, 08:07   #36
zee100
Senior Member
 
Join Date: Nov 2003
Location: Germany
Posts: 169
There are a lot of php scripts showing stats information.
You can add this to the player html page with iframes.

This is a example what you can do.
http://www.magic104.longmusic.com/player2/index.html
zee100 is offline   Reply With Quote
Old 4th March 2006, 14:46   #37
Bloop
Junior Member
 
Join Date: Mar 2006
Posts: 12
ok, I wrote a php page with this radio plugin!

thanks to all
Bloop is offline   Reply With Quote
Old 4th March 2006, 14:52   #38
zee100
Senior Member
 
Join Date: Nov 2003
Location: Germany
Posts: 169
Nice.

Do you have a link to your page?
zee100 is offline   Reply With Quote
Old 4th March 2006, 23:42   #39
Bloop
Junior Member
 
Join Date: Mar 2006
Posts: 12
yes, but for some days the radio will be offline for server update.
This page is a popup:
http://www.villageradio.org/livestream.php
but this is a screenshot of the pop up page when radio is online:


home page is: http://www.villageradio.org (here the link to pop up and an other script for radio)

Last edited by Bloop; 5th March 2006 at 00:58.
Bloop is offline   Reply With Quote
Old 4th March 2006, 23:53   #40
Bloop
Junior Member
 
Join Date: Mar 2006
Posts: 12
nothing to do it working on Firefox????
Bloop is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast 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