Click here to get back home

Sound and W3C

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Sound and W3C Ben 07-06-2006
Get Chitika Premium
Posted by Ben on July 6, 2006, 6:30 pm
Please log in for more thread options


How do I add sound so that it plays automatically when the page is
loaded? My search turned up some references to <bgsound>, but it was
described as a Microsoft-designed tag. I prefer to stick to
non-properietary standards.

Also, is there a sound format that most browsers can play natively,
without a plug-in? The sound is 5-seconds, voice-only.


Posted by David Dorward on July 6, 2006, 6:57 pm
Please log in for more thread options


Ben wrote:

> How do I add sound so that it plays automatically when the page is
> loaded?

Eugh. Nasty. Horrible. My speakers are my own, don't touch them without
explicit permission! (This is not an uncommonly held view).

That said, the standard way to include media is with the <object> element.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is

Posted by Jeremy on July 6, 2006, 8:39 pm
Please log in for more thread options


David Dorward wrote:
> Ben wrote:
>
>> How do I add sound so that it plays automatically when the page is
>> loaded?
>
> Eugh. Nasty. Horrible. My speakers are my own, don't touch them without
> explicit permission! (This is not an uncommonly held view).
>
> That said, the standard way to include media is with the <object> element.
>

Agreed. If a website makes noise, I leave. It's a little rule I have.
Goes double for sound/video ads. If you want readers, do not put this
crap on your site.

Jeremy

Posted by Ben on July 7, 2006, 2:03 pm
Please log in for more thread options


Thanks for the info about <object>. It seems to require a sound file
that runs off a plugin. Is there a sound format that browsers play
natively (maybe AIFF?), and does it still work with <object>?

I've thought of a way to make the page work with the sound optional,
but since it is such a small sound-bite (5 seconds of voice), I'm
hoping to avoid plugins.



David Dorward wrote:
> Ben wrote:
>
> > How do I add sound so that it plays automatically when the page is
> > loaded?
>
> Eugh. Nasty. Horrible. My speakers are my own, don't touch them without
> explicit permission! (This is not an uncommonly held view).
>
> That said, the standard way to include media is with the <object> element.
>
> --
> David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
> Home is where the ~/.bashrc is


Posted by Harlan Messinger on July 7, 2006, 3:06 pm
Please log in for more thread options


Ben wrote:
> David Dorward wrote:
>> Ben wrote:
>>
>>> How do I add sound so that it plays automatically when the page is
>>> loaded?
>> Eugh. Nasty. Horrible. My speakers are my own, don't touch them without
>> explicit permission! (This is not an uncommonly held view).
>>
>> That said, the standard way to include media is with the <object> element.

> Thanks for the info about <object>. It seems to require a sound file
> that runs off a plugin. Is there a sound format that browsers play
> natively (maybe AIFF?),

No.

Similar ThreadsPosted
preload a sound December 22, 2004, 11:03 pm
Trying to sound August 20, 2006, 8:27 pm
Play Sound simultaneously July 22, 2004, 4:37 am
How to unable background sound June 7, 2005, 5:24 pm
Sound with Opera 8.60 for Windows Mobile February 22, 2007, 1:16 am
Embedding a sound file without launching player March 31, 2005, 5:20 am
Optimal way to call a sound file on a mouse/button click. August 5, 2004, 7:28 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap