Thanks All, DownThemAll also use nsISound
Here is some working example
var sound = Components.classes["@mozilla.org/sound;1"]
.createInstance(Components.interfaces.nsISound);
sound.play(("Path of wav sounbd").toURI());
Regards,
InBasic
On Feb 20, 2008 5:26 AM, Todd Whiteman <[EMAIL PROTECTED]> wrote:
> On Feb 17, 2008 7:48 AM, InBasic <[EMAIL PROTECTED]> wrote:
>
> > Hi all,
> >
> > I want to play sound(*.wav) with my extension.
> > any suggestion ?
> >
> > + Interest in some way which does not need additional plug-in and be OS
> > independent.
> >
>
> This might be of interest. Someone wrote a Komodo extension that plays a
> typewriter sound (.wav file) on every keystroke, implemented using nsISound,
> see here for details:
>
> http://community.activestate.com/forum-topic/komodo-edit-play-sound-when-key-pressed
>
> Cheers,
> Todd
>
>
> _______________________________________________
> Project_owners mailing list
> [email protected]
> https://www.mozdev.org/mailman/listinfo/project_owners
>
>
_______________________________________________
Project_owners mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/project_owners