[Koha] sound cues

Jesse Weaver jesse.weaver at liblime.com
Wed Nov 12 09:30:38 NZDT 2008


EDIT: Resending; apparently the list didn't like "Reply to All"


> On Mon, Nov 10, 2008 at 8:51 PM, Mason James <mason.loves.sushi at gmail.com>wrote:
>
>>
>> On 2008/11/11, at 8:51 AM, Chris Cormack wrote:
>>
>> > On Tue, Nov 11, 2008 at 4:20 AM, Nicole Engard
>> > <nicole.engard at liblime.com> wrote:
>> >> Sharon,
>> >>
>> >> I have heard other Koha users ask for the same thing - but I haven't
>> >> seen any documentation or an RFC for it.
>> >>
>> >>
>> > Kapiti District Library here in NZ had this, I'm not sure if they
>> > still do.
>> >
>> > Mason might be able to answer.
>> >
>>
>>
>> hiya folks,
>>
>> yes, Kapiti do indeed have an 'audio-cues' mod on their koha.
>>
>> a quick look in the tmpl files seems to indicate a simple <embed> tag
>> doing the magic, woo!...
>>
>>
>> <!-- TMPL_IF Name="good_return" -->
>>     <!-- Play a sound if the item was returned properly -->
>>         <EMBED SRC="<!-- TMPL_VAR NAME='themelang' -->/includes/
>> sounds/ding.wav"
>>              type="audio/wav" autostart=true hidden=true loop=1
>> height=60 width=128 </embed>
>> <!-- /TMPL_IF -->
>>
>> this 'just-works' on my firefox3, at least
>>
>> hopefully, the above example should be a good start to your success,
>> happy ding-ing... :)
>>
>> Mason.
>> _______________________________________________
>> Koha mailing list
>> Koha at lists.katipo.co.nz
>> http://lists.katipo.co.nz/mailman/listinfo/koha
>>
>
> I've added sound cues to my library's installation of Koha as well, though
only for our AJAX batch item delete tool.

<embed> seems to work well, and apparently can even be portably scripted
(useful for AJAX apps).

-- 
Jesse Weaver
Software Developer, LibLime
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20081111/8af7f38c/attachment-0001.htm 


More information about the Koha mailing list