 |
|
pwhitrow
Bipolar (III) Inmate
From: UK Insane since: Feb 2002
|
posted 01-14-2003 00:05
Guys,
I know you'll cane me for this..but time is a factor.
I'm looking for a pre written script that will play WAV files in both Netscape and IE when an object (link or whatever) is pressed, that I can drop into a page.
Please help.
Regards,
Paul
www.pwhitrow.com
|
Bugimus
Maniac (V) Mad Scientist
From: New California Insane since: Mar 2000
|
posted 01-14-2003 19:18
Ouch, I'm not sure I've done that before but what version of Netscape? 4 or 6?
. . : slicePuzzle
|
InI
Paranoid (IV) Mad Scientist
From: Somewhere over the rainbow Insane since: Mar 2001
|
posted 01-14-2003 19:55
The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.
|
bitdamaged
Maniac (V) Mad Scientist
From: 100101010011 <-- right about here Insane since: Mar 2000
|
posted 01-14-2003 20:02
Got Flash?
.:[ Never resist a perfect moment ]:.
|
pwhitrow
Bipolar (III) Inmate
From: UK Insane since: Feb 2002
|
posted 01-14-2003 20:10
|
Bugimus
Maniac (V) Mad Scientist
From: New California Insane since: Mar 2000
|
posted 01-15-2003 00:45
|
pwhitrow
Bipolar (III) Inmate
From: UK Insane since: Feb 2002
|
posted 01-15-2003 01:00
Bug,
I can get background sounds with autostart OK, but what i want is to ba able to change the src of the file and play it.
Example..
<body>
<script language="JavaScript">
<!--
function playSnd(){
n=document.getElementsByName('snd')
window.status=n[0]
n[0].play()
}
//-->
</script>
<embed name="snd" src="enter.wav" autostart="false" loop="0" width="10" height="10" align="center" controller="false"></embed>
<b onclick="playSnd()">play</b>
</body>
Works in IE, not NN...
[This message has been edited by pwhitrow (edited 01-15-2003).]
|
Dracusis
Maniac (V) Inmate
From: Brisbane, Australia Insane since: Apr 2001
|
posted 01-15-2003 06:44
If you can use flash then you'll save yourself a lot of pain. From what I remember there's never been a suitable cross browser way to have event driven sounds in web pages apart from using flash. I could be wrong though.
|
Bugimus
Maniac (V) Mad Scientist
From: New California Insane since: Mar 2000
|
posted 01-15-2003 08:15
I just resurrected some code I had that worked in NN4 and played wav files but unfortunately it's not working in Mozilla 
|
InI
Paranoid (IV) Mad Scientist
From: Somewhere over the rainbow Insane since: Mar 2001
|
posted 01-15-2003 09:12
The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.
|
Bugimus
Maniac (V) Mad Scientist
From: New California Insane since: Mar 2000
|
posted 01-15-2003 09:25
Yes, I remember the LiveAudio thingy for NN4. That's what I used. It was kind of cool but trying to keep sounds cross-browser just got too hard so I gave up on them.
I found some code that plays aif files from the browser and when I loaded up Mozilla to see how it would do it said:
"This browser is not equipped for scripted sound. Requires Navigator 3.x, 4.0-4.5, or 4.7-4.9." I read somewhere else that earlier versions of Mozilla weren't going to support LiveConnect. I'm using Mozilla 1.0 ~sigh~
[This message has been edited by Bugimus (edited 01-15-2003).]
|
InI
Paranoid (IV) Mad Scientist
From: Somewhere over the rainbow Insane since: Mar 2001
|
posted 01-15-2003 09:50
The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.
|
pwhitrow
Bipolar (III) Inmate
From: UK Insane since: Feb 2002
|
posted 01-15-2003 12:17
nice guys...
Ini, that link works well BUT....NN is not supprting WAV files..??????
This is driving me around the bend..
www.pwhitrow.com
|
InI
Paranoid (IV) Mad Scientist
From: Somewhere over the rainbow Insane since: Mar 2001
|
posted 01-15-2003 13:58
The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.
|
InI
Paranoid (IV) Mad Scientist
From: Somewhere over the rainbow Insane since: Mar 2001
|
posted 01-15-2003 14:21
The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.
|
Bugimus
Maniac (V) Mad Scientist
From: New California Insane since: Mar 2000
|
posted 01-15-2003 18:17
Man, it's a pain to have to access the plugin like that. But it is possible and that is the key. pwhitrow, who is your audience? How confident are you that your NN6 users will have the appropriate plugins installed?
. . : slicePuzzle
|
pwhitrow
Bipolar (III) Inmate
From: UK Insane since: Feb 2002
|
posted 01-15-2003 22:41
Damn...seemed such a simple problem at first...
I think I'm gonna have to forgo the Netscape side of things for now...
www.pwhitrow.com
|