]> git.evergreen-ils.org Git - Evergreen.git/commit
webstaff: egAudio HTML5 audio service
authorBill Erickson <berickxx@gmail.com>
Sun, 15 May 2016 16:51:24 +0000 (12:51 -0400)
committerMike Rylander <mrylander@gmail.com>
Thu, 18 Aug 2016 19:34:21 +0000 (15:34 -0400)
commitd02c84fce8a3e99ce7be5357277b5958d8b04183
tree9d7936d214833a7b8b5fca92de2b220bf94a8340
parenteb53b50cf844ba7bfe3bf5f069cd6a9d80be868e
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