Topic: MP3 Flash Player

Greetings!
I'm having problems with a Flash MP3 player I downloaded from this site and used code generator to generate the code used for this specific player. Basicly the problem is that once the player loads, you click on play and it never plays. It looks like its loading the song, but never does. Flash is like way out of my range, even though this should be simple. So I would greatly appreciate any help you all could provide.

I've run it through a HTML validator but it won't validate (Edit: The document now validates, but the player will not work.). The error it produces can be found here. The actual document is here click the "play" button to see the results of the error with the player. Here's the exact code for the player (note: this also contains PHP because once the finish product is done it will need to be to be in PHP so I could hook it up to the DB's):

<p>
<?php
print "<object type=\"application/x-shockwave-flash\" data=\"http://christchurchnewalbany.org/Flash-Player/musicplayer.swf?&song_url=http://christchurchnewalbany.org/Sermon-Audio/Dec-12-2005.mp3&\" width=\"17\" height=\"17\">
<param name=\"movie\" value=\"http://christchurchnewalbany.org/Flash-Player/musicplayer.swf?&song_url=http://christchurchnewalbany.org/Sermon-Audio/Dec-12-2005.mp3&\" />
<img src=\"noflash.gif\" width=\"17\" height=\"17\" alt=\"MP3 Player\" />
</object>";
?>
</p>

If any of you have any ideas, let me know or if you have any questions about the problem itself, let me know. Thanks very much!

Zak

Last edited by zakfox1986 (2006-01-25 15:12:27)

Re: MP3 Flash Player

Update: The document now validates.

Re: MP3 Flash Player

The PHP side of this is out of my league, but maybe the problem is in the flash player?  When you downloaded this, did it give you an fla that you edited or just the swf?  If there is a Flash issue, I might be able to help you out.

I recently came across this awesome xml mp3 player for flash I we just used on a project.  I skinned it and removed several components, but it's very solid and works like a champ.

Re: MP3 Flash Player

kob,
Thanks very much for your resonse! I think its just a flash issue...maybe. I am 99% sure its not an issue with the PHP code since that part of it is in its simplest form. I am wondering if the problem has to do with the code that tells the browser where all the files are and such. By that I mean, this code:

<object type="application/x-shockwave-flash" data="http://christchurchnewalbany.org/Flash-Player/musicplayer.swf?&amp;song_url=http://christchurchnewalbany.org/Sermon-Audio/Dec-12-2005.mp3&amp;" width="17" height="17">
<param name="movie" value="http://christchurchnewalbany.org/Flash-Player/musicplayer.swf?&amp;song_url=http://christchurchnewalbany.org/Sermon-Audio/Dec-12-2005.mp3&amp;" />
<img src="noflash.gif" width="17" height="17" alt="MP3 Player" />
</object>

Any thoughts would be greatly appreciated!

Last edited by zakfox1986 (2006-01-26 09:40:19)