webstaff: egAudio HTML5 audio service
authorBill Erickson <berickxx@gmail.com>
Sun, 15 May 2016 16:51:24 +0000 (12:51 -0400)
committerBill Erickson <berickxx@gmail.com>
Mon, 23 May 2016 03:42:55 +0000 (23:42 -0400)
commit385fc0ec8e3d05e89b80155803cfb165c73e7793
tree2663037fd40ce707456081d45ba2dac9a22a28a2
parent9e8b3ed2dc7eef1018d411c6bc409fe1b65de0fb
webstaff: egAudio HTML5 audio service

egCore.audio.play('audio.event.dot.path');

Service to look up audio URL's by key name.  Supports fall-thru behavior
where 'foo.bar.baz' will fall-thru to 'foo.bar' and 'foo' depending on
whether an audio file is avaialable.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/templates/staff/base_js.tt2
Open-ILS/web/audio/notifications/error.wav [new file with mode: 0644]
Open-ILS/web/audio/notifications/info.wav [new file with mode: 0644]
Open-ILS/web/audio/notifications/success.wav [new file with mode: 0644]
Open-ILS/web/audio/notifications/warning.wav [new file with mode: 0644]
Open-ILS/web/js/ui/default/staff/Gruntfile.js
Open-ILS/web/js/ui/default/staff/services/audio.js [new file with mode: 0644]
Open-ILS/web/js/ui/default/staff/services/coresvc.js
Open-ILS/web/js/ui/default/staff/test/karma.conf.js