mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Merge pull request #1100 from vector-im/audio_notifications
Add audio tag for message notifications
This commit is contained in:
commit
9c82938b35
@ -28,6 +28,10 @@
|
|||||||
<noscript>Sorry, Vector requires JavaScript to be enabled.</noscript>
|
<noscript>Sorry, Vector requires JavaScript to be enabled.</noscript>
|
||||||
<link rel="stylesheet" href="bundle.css">
|
<link rel="stylesheet" href="bundle.css">
|
||||||
<img src="img/warning.svg" width="24" height="23" style="visibility: hidden; position: absolute; top: 0px; left: 0px;"/>
|
<img src="img/warning.svg" width="24" height="23" style="visibility: hidden; position: absolute; top: 0px; left: 0px;"/>
|
||||||
|
<audio id="messageAudio">
|
||||||
|
<source src="media/message.ogg" type="audio/ogg" />
|
||||||
|
<source src="media/message.mp3" type="audio/mpeg" />
|
||||||
|
</audio>
|
||||||
<audio id="ringAudio" loop>
|
<audio id="ringAudio" loop>
|
||||||
<source src="media/ring.ogg" type="audio/ogg" />
|
<source src="media/ring.ogg" type="audio/ogg" />
|
||||||
<source src="media/ring.mp3" type="audio/mpeg" />
|
<source src="media/ring.mp3" type="audio/mpeg" />
|
||||||
|
Loading…
Reference in New Issue
Block a user