[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] sounds on hobbit alerts
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] sounds on hobbit alerts
- From: "Hobbit User" <hobbit (at) epperson.homelinux.net>
- Date: Mon, 27 Aug 2007 10:55:03 -0400 (EDT)
- Importance: Normal
- References: <0FCB0C3BC8BE584FA197966505EB085F0526A364 (at) CNTRRA20-XCS00.telkom.co.za>
- User-agent: SquirrelMail/1.4.10a-1.fc7
On Mon, August 27, 2007 03:43, Sello Tlabela (SD) wrote:
>
> Is it possible to set alerts to play sound on hobbit when the colour
> changes to red, yellow?
>
Sure. I'm presuming you want the sound in the browser, not on the server.
In web/bb_header, insert after the line beginning "<BODY BGCOLOR" a line
like:
<EMBED SRC="&BBBACKGROUND.wav" AUTOSTART="True" HIDDEN="True" LOOP= "false">
Put red.wav, green.wav, purple.wav, and yellow.wav in the Hobbit www
directory.
I use .wav as an example only. The browser, of course, must have a sound
plug-in that handles the type sound file used or it will do something like
put up a "Plug in needed" bar. Firefox 2.0 on XP will foreground every
time the page reloads (on my office machine, anyway), IE 6 will not.
YMMV. Offer void where prohibited. Don't take any wooden cigars.