Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Free Open Source Flash Client
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Listener Clients
View previous topic :: View next topic  
Author Message
Anonymous
Guest





PostPosted: Sun Dec 17, 2006 10:11 am    Post subject: Free Open Source Flash Client Reply with quote

Due to a bug in a account deletion script for my site.. i have lost alot of files on my website including this script.. if anyone has a backup.. can they post it?

Hi, Big fan of Icecast here! Laughing

I have made a free and open source flash client. It was coded from scrach for my website but can be customised to work with anyones.

I dont care what anyone does with it.. they can customise/improve/sell/whatever it Smile

READ THIS GUIDE CAREFULLY AND TAKE YOUR TIME!

You can see it working here on my website: http://richieward.com
ALTHOUGH I DONT ALWAYS HAVE A DJ ONLINE!

Heres the flash source code: http://richieward.com/player.fla

1 ) You need Macromedia Flash Professional 8, you can get that here: http://www.adobe.com/go/tryflash

2 ) Open notepad and put this PHP Source Code into notepad:
<?php
header("Content-Type: text/xml");
$data = file_get_contents("http://admin:myicecastpass@mywebsite.com:8877/admin/stats");
echo $data;
?>


3 ) change:
myicecastpass to your icecast password
mywebsite to your website address
8877 to your icecast server port number

4 ) Save the file as stats.php and upload to your website (Assuming you have a website host that supports PHP, Email them if your not sure).

5 ) Download my http://richieward.com/crossdomain.xml and upload that to your website (Fixes a flash security bug).

You might want to edit
<!-- http://www.richieward.com/crossdomain.xml -->
at the top of crossdomain.xml to your website address.

6 ) Open the source code file in Macromedia Flash...

7 ) Edit the actionscript sourcecode shown below:


8 ) Go to File --> Publish and upload the swf file.


If you have any use for this.. I would like to hear about it.. I posted this thread in the hope that it will be useful Smile
Also you can donate some improvements and sourcecode fixes to me if you want. I will provide help+support in this thread. Please post your stats.php and player.fla that you edited when asking for help.[/b]


Last edited by Anonymous on Sat Jul 21, 2007 12:13 am; edited 8 times in total
Back to top
Anonymous
Guest





PostPosted: Sat Jan 20, 2007 7:35 pm    Post subject: Reply with quote

ohhh I wanted to try your flash player.. but what happened to the links?? They are all down... Crying or Very sad
Back to top
Anonymous
Guest





PostPosted: Wed Jan 24, 2007 8:15 am    Post subject: Reply with quote

When I tried to open stats.php file on my site, it gives me an error... There's the screenshot of it... how to fix it?

Rolling Eyes

Back to top
Anonymous
Guest





PostPosted: Wed Mar 07, 2007 2:42 pm    Post subject: Reply with quote

------> I have updated the guide above. <--------

imp_squared wrote:
ohhh I wanted to try your flash player.. but what happened to the links?? They are all down... Crying or Very sad


They should be working now.. i edited the post! Very Happy It was due to major changes on my website.. it was completly redoing my site pretty much..

BigCrow wrote:
When I tried to open stats.php file on my site, it gives me an error... There's the screenshot of it... how to fix it?

Rolling Eyes



You used a incorrect url in the php script.. you put http://...@http://xxx.xxx.xxx.xxx:8000/ . There are two http://'s and there should be one. Use a url similar to this http://user:pass@123.123.123.123:8000/admin/stats

dont delete /admin/stats off the url.. keep that on the end.


Also, you might want to edit
<!-- http://www.richieward.com/crossdomain.xml -->
at the top of crossdomain.xml



This post has nearly 1000 views... isnt someone going to tell me how its worked out for them?
Back to top
Anonymous
Guest





PostPosted: Thu Mar 08, 2007 8:28 am    Post subject: Reply with quote

Thanks, I'll try the new one...
Back to top
Anonymous
Guest





PostPosted: Thu Mar 08, 2007 8:54 am    Post subject: Reply with quote

Ok.. i am keeping a good eye on this thread Smile

another thing.. dont run this in a VMWare system.. it will cause problems!

let me know how it goes big crow.. PM me if you want instant messaging help.

My email is: richies@gmail.com
My google talk address is: richies@gmail.com

To get google talk, go to http://www.google.com/talk/ and click the sign up here link if you dont have a account.
Back to top
Anonymous
Guest





PostPosted: Sat Mar 10, 2007 5:46 pm    Post subject: Reply with quote

Bug found! The first time the player is opened.. the sound dont work because the volume is set to 0% by default... it needs to set it to 100% by default.. expect a fix soon.
Back to top
Anonymous
Guest





PostPosted: Wed Mar 28, 2007 11:12 pm    Post subject: Reply with quote

Ok, I MIGHT of fixed the bug.. redownload
http://richieward.com/player.fla
and
http://richieward.com/player.swf

and see if it fixes your problems!

I need people to test this else I cannot fix the bug if people dont help test.
Back to top
bbk



Joined: 15 Oct 2005
Posts: 79

PostPosted: Mon Apr 02, 2007 7:12 pm    Post subject: Reply with quote

hello rich43

just one question... sorry i didn't already went trough your code Smile

is the problem that flash just uses all the memory for the (not)buffering solved in your player?

hope i wrote clear what i mean... i had the problem that it sucked all my memory for the swf to save the stream....

thank you
grtz
_________________
::bbk::

http://audioasyl.net
Back to top
View user's profile Send private message Visit poster's website
Anonymous
Guest





PostPosted: Sun Apr 22, 2007 3:29 pm    Post subject: Reply with quote

Does this player solve the Internet Explorer problem?

I have it working flawlessly in Firefox, but IE6 / IE7 won't play the stream.
Back to top
Anonymous
Guest





PostPosted: Fri Apr 27, 2007 2:00 pm    Post subject: Reply with quote

Hey, great job!
The only huge problem is that I do not have admin access to the icecast server. I wrote a bash script to update metadata using source/password combination. Buy I cannot connect to the admin/stats with that combination...
Do you know any other way around it?
ciao
mjs2020
Back to top
Anonymous
Guest





PostPosted: Wed Jun 06, 2007 3:46 pm    Post subject: Reply with quote

It might have a memory leak problem.. I could do my best to work on that.. its mostly Adobe's fault and not mine though. I might have to re-implement some of the code and test it for some hours to stability. This should be fixed in a future version unless there is a bigger problem with how flash handles music streams than I imagined.

In order to fix your non-admin stats problem I would have to parse the html from the public page which is kinda hackish. Maybe a option could be added for that as a last resort in a future version as it is not the best method.

Can you guys help test the volume bug I found?
Back to top
Anonymous
Guest





PostPosted: Sat Jul 21, 2007 12:09 am    Post subject: Reply with quote

Due to a bug in a account deletion script for my site.. i have lost alot of files on my website including this script.. if anyone has a backup.. can they post it?
Back to top
Anonymous
Guest





PostPosted: Sun Oct 07, 2007 3:42 pm    Post subject: Reply with quote

The links are dead... Sad
Back to top
Anonymous
Guest





PostPosted: Wed Oct 10, 2007 4:32 pm    Post subject: Bandwidth changed but no effect Reply with quote

Hi, I'm Claudiu from Romania http://www.doctorfm.ro/indexradio.html I increased my bandwidth but no effect, despite the max listeners are set to UNLIMITED. I restarted the server but no change. How can I resolve this problem? Please e-mail me at office@doctorfm.ro Thank you very much for your help
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Listener Clients All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber