View previous topic :: View next topic |
Author |
Message |
Anonymous Guest
|
Posted: Sun Dec 17, 2006 10:11 am Post subject: Free Open Source Flash Client |
|
|
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!
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
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
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
|
Posted: Sat Jan 20, 2007 7:35 pm Post subject: |
|
|
ohhh I wanted to try your flash player.. but what happened to the links?? They are all down... |
|
Back to top |
|
|
Anonymous Guest
|
Posted: Wed Jan 24, 2007 8:15 am Post subject: |
|
|
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?
|
|
Back to top |
|
|
Anonymous Guest
|
Posted: Wed Mar 07, 2007 2:42 pm Post subject: |
|
|
------> 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... |
They should be working now.. i edited the post! 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?
|
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
|
Posted: Thu Mar 08, 2007 8:28 am Post subject: |
|
|
Thanks, I'll try the new one... |
|
Back to top |
|
|
Anonymous Guest
|
Posted: Thu Mar 08, 2007 8:54 am Post subject: |
|
|
Ok.. i am keeping a good eye on this thread
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
|
Posted: Sat Mar 10, 2007 5:46 pm Post subject: |
|
|
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
|
|
Back to top |
|
|
bbk
Joined: 15 Oct 2005 Posts: 79
|
Posted: Mon Apr 02, 2007 7:12 pm Post subject: |
|
|
hello rich43
just one question... sorry i didn't already went trough your code
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 |
|
|
Anonymous Guest
|
Posted: Sun Apr 22, 2007 3:29 pm Post subject: |
|
|
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
|
Posted: Fri Apr 27, 2007 2:00 pm Post subject: |
|
|
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
|
Posted: Wed Jun 06, 2007 3:46 pm Post subject: |
|
|
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
|
Posted: Sat Jul 21, 2007 12:09 am Post subject: |
|
|
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
|
Posted: Sun Oct 07, 2007 3:42 pm Post subject: |
|
|
The links are dead... |
|
Back to top |
|
|
Anonymous Guest
|
Posted: Wed Oct 10, 2007 4:32 pm Post subject: Bandwidth changed but no effect |
|
|
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 |
|
|
|