Re: [WSG] Sound without Plug-in/HTML Sound?

2005-01-26 Thread David R
Patrick H. Lauke wrote:
berry wrote:
Can we add sound without using a plug-in and still being compatible with
the different browsers?

In a word, no.
AFAIK, You can...
object src=http://www.yourdomain.tld/audio/your.snd; 
type=MIME/GoesHere /

...Thats only from the top of my head, you'll have to check to see if it 
works, of course, but that should work in browsers that interpret the 
object tag appropriatley

--
-David R
**
The discussion list for  http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**


Re: [WSG] Sound without Plug-in/HTML Sound?

2005-01-26 Thread Andrew Krespanis
 object src=http://www.yourdomain.tld/audio/your.snd;
 type=MIME/GoesHere /
 
 ...Thats only from the top of my head, you'll have to check to see if it
 works, of course, but that should work in browsers that interpret the
 object tag appropriatley

Browsers that interpret the object tag correctly... You mean both of them? lol.
I''ve played this game before, you won't get very broad support using
the object method.
I usually use Flash to insert sound, as it 
a) has more reliable support across different UA/OS combo's
b) offers more control to you and the user. (ie: big 'STOP' button for
those of use who hate web audio ;)

HTH,
Andrew.
-
http://leftjustified.net/
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



Re: [WSG] Sound without Plug-in/HTML Sound?

2005-01-26 Thread Paul Menard
Actually you can bypass the whole OBJECT code and just use Javascript. Below 
is code I found
that goes right after the BODY tab (Not in the BODY tag). Just change the 
var musicsrc to your
file.

Note this will be pure background music play. Meaning there is not audio 
controller on the page.

script language=JavaScript type=text/JavaScript
!--
/* Background music script */
var musicsrc=http://www.designerconcreteconcepts.com/song.mp3;
if (navigator.appName==Microsoft Internet Explorer)
document.write('bgsound src='+''+musicsrc+''+' loop=infinite')
else 
document.write('embed src=\'+musicsrc+'\ hidden=true border=0 
width=20 height=20
autostart=true loop=true')
//--
/script




--- Andrew Krespanis [EMAIL PROTECTED] wrote:

  object src=http://www.yourdomain.tld/audio/your.snd;
  type=MIME/GoesHere /
  
  ...Thats only from the top of my head, you'll have to check to see if it
  works, of course, but that should work in browsers that interpret the
  object tag appropriatley
 
 Browsers that interpret the object tag correctly... You mean both of them? 
 lol.
 I''ve played this game before, you won't get very broad support using
 the object method.
 I usually use Flash to insert sound, as it 
 a) has more reliable support across different UA/OS combo's
 b) offers more control to you and the user. (ie: big 'STOP' button for
 those of use who hate web audio ;)
 
 HTH,
 Andrew.
 -
 http://leftjustified.net/
 **
 The discussion list for  http://webstandardsgroup.org/
 
  See http://webstandardsgroup.org/mail/guidelines.cfm
  for some hints on posting to the list  getting help
 **
 
 

**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



Re: [WSG] Sound without Plug-in/HTML Sound?

2005-01-25 Thread Patrick H. Lauke
berry wrote:
Can we add sound without using a plug-in and still being compatible with
the different browsers?
In a word, no.
--
Patrick H. Lauke
_
re·dux (adj.): brought back; returned. used postpositively
[latin : re-, re- + dux, leader; see duke.]
www.splintered.co.uk | www.photographia.co.uk
http://redux.deviantart.com
**
The discussion list for  http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**