[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-devel] Re: Koha Sound Events
From: |
Darrell Ulm |
Subject: |
[Koha-devel] Re: Koha Sound Events |
Date: |
Thu, 4 Feb 2010 16:35:38 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
Kyle Hall <address@hidden> writes:
>
> Have you thought about using the HTML 5 <audio> tag?
>
> http://html5doctor.com/native-audio-in-the-browser/
>
Kyle,
Yes, the HTML5 did the trick for Mozilla (using 3.6).
It is fast and there is
*no* delay and no page refresh. It just works.
OK, so the *other* browsers don't yet implement it,
but they should if they want
to stay compliant. Koha primarily supports Firefox
so this should not be an issue.
They can play catch up. I just did the following:
<!-- TMPL_IF NAME="soundon" -->
<script type="text/javascript" language="javascript">
if ( get_cookie( "kohastaffsound" ) == "yes" )
{
document.write('<audio src="/intranet-tmpl/prog/sound/beep.wav" autoplay
autobuffer></audio>');
}
</script>
<!-- /TMPL_IF -->
Sound on is the syspref.
The HTML 5 autoplay and especially the autobuffer appear to make it work very
nicely.
Well, I have a bunch of open source sounds (Artistic Licence 2.0) so I can
finish this up and have Galen "soundly" reject it! (Just a joke Galen) :)
-Darrell Ulm
- [Koha-devel] Koha Sound Events, Darrell Ulm, 2010/02/04
- Re: [Koha-devel] Koha Sound Events, Kyle Hall, 2010/02/04
- Re: [Koha-devel] Koha Sound Events, Kyle Hall, 2010/02/04
- [Koha-devel] Re: Koha Sound Events,
Darrell Ulm <=
- Re: [Koha-devel] Re: Koha Sound Events, Galen Charlton, 2010/02/05
- Re: [Koha-devel] Re: Koha Sound Events, Kyle Hall, 2010/02/05
- Message not available
- Message not available
- [Koha-devel] Re: Koha Sound Events, Darrell Ulm, 2010/02/05
- Re: [Koha-devel] Re: Koha Sound Events, Galen Charlton, 2010/02/05
Re: [Koha-devel] Koha Sound Events, Galen Charlton, 2010/02/05
Message not available
[Koha-devel] Re: Koha Sound Events, Darrell Ulm, 2010/02/18