]> git.evergreen-ils.org Git - working/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 12:22:24 +0000 (08:22 -0400)
commit007e46800584956c67e2fa45a5df62d26c8fc7f7
tree9d7936d214833a7b8b5fca92de2b220bf94a8340
parent87fabc64bef7da82d8eff590446a46f6aa0d5877
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