parent
9e9493ffd9
commit
63a1901ac3
@ -1,9 +1,16 @@ |
||||
<template name="audioNotification"> |
||||
<audio id="chatAudioNotification" preload> |
||||
<audio id="defaultAudioNotification" preload> |
||||
<source src="sounds/notify.ogg" type="audio/ogg" /> |
||||
<source src="sounds/notify.mp3" type="audio/mpeg" /> |
||||
</audio> |
||||
<audio id="chatNewRoomNotification" preload> |
||||
<source src="sounds/door_chime.mp3" type="audio/mpeg" /> |
||||
</audio> |
||||
{{#each audioAssets}} |
||||
<audio id="{{_id}}" preload> |
||||
{{#each sources}} |
||||
<source src="{{src}}" type="{{type}}" /> |
||||
{{/each}} |
||||
</audio> |
||||
{{/each}} |
||||
</template> |
||||
|
||||
@ -0,0 +1,6 @@ |
||||
/* globals KonchatNotification */ |
||||
Template.audioNotification.helpers({ |
||||
audioAssets() { |
||||
return KonchatNotification.audioAssets; |
||||
} |
||||
}) |
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue