Click to See Complete Forum and Search --> : WMA files... cross platform... blah


sjoga
08-18-2007, 11:01 AM
I'm designing a website for a wedding singer (ha ha) and he wants demo songs. He has WMA files, I can't convert them to MP3s. I keep having problems getting them to work.

First I had a hyperlink open the file directly, and they didn't work. So now I have them open a new window, playing in the background. It works on one page, but not the others-but the code is all the same.

FYI- I'm using golive and trying to learn to code... I hand-coded this part, finding code online to help.

Here's the code I'm using on the html page:

<embed src="dont be cruel.WMA" width="32"
height="32" hidden="TRUE" autostart="TRUE" loop="TRUE"></embed>

Here's the page- click on the song to open the new window... maybe it will play?

The first one is playing, but the last two are not.

I'm on a mac, don't have immediate access to a PC. So while all of the files open on my safari and firefox, the don't work for my client. Any help would be greatly appreciated.

Sorry if this is a dumb quesiton!

sjoga
08-18-2007, 11:56 AM
didn't add the link...

http://dondangelosings.com/demos.html

I'm sure there's a lot more with the page than this, and I'm open to criticism, but mostly want it to actually WORK.

:)

WebJoel
08-18-2007, 12:22 PM
There is a better alternative to the "<embed>" tag, but here is a potentially bigger problem:

<embed src="dont be cruel.WMA" width="32"
height="32" hidden="TRUE" autostart="TRUE" loop="TRUE"></embed>

A filename really should not have any 'whitespace' in the src. Essentially, the URL here is "cruel.WMA" and certainly, you have no file named "cruel.WMA" but intend "dont_be_cruel.WMA", "dontbecruel.WMA" or "dont-be-cruel.WMA". Those are your options.
It may work for IE though, and most certainly on a local computer running an IE-based editor or browser. You said you use Mac? At any rate, working or not working, I would avoid 'whitespace' in filenames best practice.

And I do not recognize the cited error tags (Screenshot image).. :confused:

sjoga
08-18-2007, 01:27 PM
Okay, thank you!

I switched the file names (duh...) and their point of reference in the code.

So what's this with the embed action? I'm curious.

Also, I think that two of my WMAs might be corrupted as I can't get them to play just on my computer with a player. So I can take those off the list for now. (catchafallingstar.wma and teddybear.wma) Not sure if there's a way to rectify that as it is client provided and I really don't know anything about sound editing.

thanks thanks thanks!

dcpweb
08-19-2007, 08:14 PM
Hi,

You can use the following free mp3 flash music player which may be easier to impliment: http://musicplayer.sourceforge.net/


regards

p shah - www.dcpweb.co.uk