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>
Wed, 18 May 2016 02:10:30 +0000 (22:10 -0400)
commit1a86d87acefc2e4dafb989cad897066806303cb8
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