Excellent. I hope your addition makes it in soon. Some of our libraries requested the same feature, but this was years ago now, and I had to do it using java applets. It didn't play well with thin clients so I ended up disabling it. Darrell++ Kyle http://www.kylehall.info Information Technology Crawford County Federated Library System ( http://www.ccfls.org ) On Thu, Feb 4, 2010 at 11:35 AM, Darrell Ulm <darrellulm@smfpl.org> wrote:
Kyle Hall <kyle.m.hall@...> writes:
Have you thought about using the HTML 5 <audio> tag?
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 mailing list Koha-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/koha-devel
_______________________________________________ Koha-devel mailing list Koha-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/koha-devel