We’re trying to make a small web page, or html email, that plays a sound file on command by clicking a link. The file is available HERE.
When I look at the file, the sound link doesn’t work, but it does for the other computers in the office. Any idea why? I’d really appreciate it.
Sorry!! Let’s make that HERE.
I also misstated the question. On my computer I get the dialog box to open or save the file, while others just get the file playing without any intermediate steps. Why would that be?
The sound file that you are trying to play on that page is recorded as an .mp3 (abscond.mp3). mp3s are in a compressed format that allows the sound files to take up less space and bandwith when transferred over the net. Not all computers will have the software installed to allow them to listen to mp3s (i.e. it isn’t a standard part of a plain vanilla installation of windows) It the computer doesn’t know what to do with a file of a given format, it defaults to just downloading the file.
You webpage needs to either provide links or instructions to your visitors to tell them how to get an mp3 player, or to upgrade their browsers.
MinkMan is exactly correct. If you save the mp3 file to your own machine, you should be able to further convert it into a .wav or some other type of sound file. .wav’s can be played by most machines without requiring additional software.
Just to let you know, Windows Media player is all someone needs for that to play correctly for them. Most people do have this on their system (mac users accepted, of course), and for those who dont have it, you can always put a link to the download on the site.
Thanks for the comments. I do have Windows Media Player and Winamp on this machine, but still this particular browser wanted to stop at the dialog box instead of just streaming the sound. It’s not a huge imposition, but if we could figure out exactly why, we could at least make an FAQ about it.
It’s just a browser setting. When you first click on a file type, the browser gives you the dialog asking if you want to save or open the file from where it is. There should be a checkbox asking if you want it to ask that every time, or just use what you choose as the default. If you choose to Open the file from its current location, it’ll always open it (if the box is checked correctly). There is nothing you can do via HTML that will change this. It’s a browser by browser issue.
Jman
(I prefer to save to disk with audio files…but I leave the choice box up on MP3s…every person is different!)
I have another question now. We’re trying to send html emails, and it’s being an enormous pain. We’re trying to include Javascript in the code, and if you send it from Outlook, it has a bad habit of cutting off much of the source code, so the message arrives broken.
I personally spoke to Eudora support, and they said that Eudora simply will not send html encoded mail.
The only things we’ve found yet that work are web-based, like Hotmail or usa.net. Of course, sending from these services will not look good for our business, as it will have Hotmail tags and info all over it.
Anyone got any ideas of what we can use? We need to send these by the hundred, or at least 50, if that matters to your answer. Thanks.
Jman is right about it being a browser-by-browser issue, but I’d like to add that you can edit those settings directly. With Netscape, you could go into the Helper Applications window and set up the action for the particular MIME type.
Internet Explorer uses Windows’ settings which you can edit by going to Windows Explorer (not IE), View, Options, File Types, and editing and existing type or creating a new one.
With Opera, go to File, Preferences, File Types.
The Dave Swaney wrote:
I’m glad it’s a pain. My mail reader shows HTML messages as an attachment instead of displaying the formatted text. I can get it to show me the text, but I see all the HTML tags too. You usually shouldn’t send HTML messages unless you’re really sure that the person receiving them can display them. If you’re sending this out to many of your customers, be polite and send plain text.
Yes, I’ve heard about email readers not converting the html code. What was mentioned was the AOL reader. Which ones do not support this?
Eudora supports HTML email…at least it does when I get it!
Jman
Yes, it does on receiveing, but I can tell you, it doesn’t for sending. I’ve been told to try Outlook 5. Any other suggestions?
I just did a test in Eudora 5…I sent this to myself:
<html>
<body>
<font="+4"><b>Did this work?</b></font>
</body>
</html>
And a very large Did this work? was all that came back to me…no tags, just HTML formatted text. So, at least version 5 of Eudora can send HTML correctly. Just make sure you’re pasting the HTML directly into the body of the message, and that you have the HTML header (I’m not sure if the BODY tag is required…didn’t test that).
Jman
Just did another test…you don’t need the BODY tags…just the HTML tags. (<html></html>) Without them, it doesn’t turn in into HTML, it just sends the tags.
Jman
Oh…and I DID actually type <font size="+4"> not <font="+4">…just didn’t write it correctly when I posted this message. Sorry!
Jman
Just say no to HTML-formatted email. Email-bugs and the other evil like thrive on that stuff.
As to what readers don’t support it, I would offer that most of the *nix based ones don’t.
I use pine and HTML emails are the bane of my existence. Of course, I also laugh evilly when I get those read-receipt messages. Dammit! Leave me alone!