PDA

View Full Version : play external mp3


ufo973
01-28-2008, 02:54 AM
Hello folks please please help me!

Since one week I have bought and downloaded the flashchat and flashchat modulepack which contains the mp3player. But I can’t get it to play external mp3s.

Because of low bandwidth I can’t let users play it from my server. I emailed the support but didn’t get any reply.

Please give me any possible solution.

Eric Karz
01-28-2008, 03:39 AM
look for a hosting company that will support the bandwidth that you require .
If your not able to stream external links from your current host then only they will be able to help you figure it out .

ufo973
01-28-2008, 04:01 AM
Isn't there any other mp3 players work with flashchat and also play external files?

Eric Karz
01-28-2008, 04:07 AM
we give away a free one that linked form here
http://forum.tufat.com/showthread.php?t=35913
that leads to here
http://www.kathys-kreation.com/customize/customizeflashchat.html
at the bottom of the page
the core of it is by flashstar

ufo973
01-28-2008, 07:34 AM
Thank you very much i downloaded the free mp3player from the site but the mp3player.swf is empty :(
i tested in my local coputer and on my flashchat also there is nothing inside?

Eric Karz
01-28-2008, 09:43 AM
there is a readme.txt file in
it explains how to set the audioistlist,xml
"<song path="http://your domain .com/path/path/your.mp3" bild="widow.jpg" artist="by who?" title="name of the song"/>
<song path="http://kathys-kreation.com/chat1/tracks/2.mp3" bild="widow.jpg" artist="" title="For The Rest Of My Life"/>"

reconfigure the xml with songs that you wish to play from over the net
the swf is about 800Kb because of the way its exported gfx

below is flashchat483/speedchat with that free mp3 player on localhost
http://kathys-kreation.com/speedchat/localhost_cross_domain.JPG

ufo973
01-28-2008, 11:29 PM
Dear Eric Karz here is the picture of mp3player.swf when i open it in a browser.
http://ufo973.sky.prohosting.com/mp3player.jpg

and here is the picture of mp3player in my flashchat in my domain
http://ufo973.sky.prohosting.com/on_domain.jpg

here is the audiolist.xml

<?xml version="1.0" encoding="UTF-8"?>

<songs>
<song path="http://sound1.mp3pk.com/artist/sonu_nigam/sonu_nigam_jaan/snjaan3(songs.pk).mp3" bild="widow.jpg" artist="Sonu Nigam" title="jaan"/>
</songs>

and here is the config.php

'module' => array(
'anchor' => '-1',//the anchor point: -1,0,1,2,3 or 4 (0=centered,1-4=corners of space below roomlist) + 5-14 points
//anchor of -1 means that module will occupy a floating window (not anchored with flashchat template)
'path' => 'mp3player.swf',//set to '' to disable. To see how this works, use 'banner.swf' or 'moduleTest.swf'
'stretch' => 'true',// if true, anchored SWF is stretched horizontally & vertically to fill all available space
'float_x' => '300', // the default "x" position of the floating window (when anchor = -1)
'float_y' => '200', // the default "y" position of the floating window (when anchor = -1)
'float_w' => '200', // the default width of the floating window (when anchor = -1)
'float_h' => '100', // the default height of the floating window (when anchor = -1)
),

both audiolist.xml and mp3player.swf is in the root directory of my domain.

Eric Karz
01-29-2008, 11:36 AM
hi ufo sorry your haivig a problem with the mp3 players
i was able to add
http://sound1.mp3pk.com/artist/sonu_nigam/sonu_nigam_jaan/snjaan3(songs.pk).mp3
within a few seconds and it plays fine .
the mp3 player that we released was meant to play in the chat not as a standalone player .
If not using winrar you should be.
http://www.rarlab.com/download.htm
extract the rar to your desk top
upload it by ftp
upload all content to the root of the chat folder
change config.php
'anchor' => '-1',//
to
'anchor' => '0',//
first to make sure it works
you may have to change stretch to false
clear your flash player
use IE to test with .

ufo973
01-30-2008, 03:59 AM
Thank you it is working now :)
It was my fault i was uploading the mp3player.swf in to the root directory of my domain it should be uploaded in the flashchat folder :)
you mp3player is very beautiful but unfortunately there is no play list to choose a song from the list :(

Eric Karz
01-31-2008, 12:21 AM
great to hear you finally have it working
yeah this version of it doesnt but could
the main reason we put that there was for the kids to download and have fund with it .