mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-23 09:56:34 +02:00
Ajout de la lecture d'un son sur reception d'un message
This commit is contained in:
parent
6fe2ab5193
commit
c8c1679434
7 changed files with 20 additions and 0 deletions
|
@ -80,6 +80,7 @@
|
|||
'<div class="discussion-message-date">' + message.date + '</div>' +
|
||||
'</div>' +
|
||||
'</div>';
|
||||
playReceptionSound();
|
||||
break;
|
||||
case 'sended' :
|
||||
var texte = '' +
|
||||
|
|
|
@ -2,5 +2,10 @@
|
|||
RaspiSMS a été créé pour vous par le site <a href="http://raspbian-france.fr">Raspbian-France</a>, site dédié à la Raspberry Pi<br/>
|
||||
Copyright 2014. RaspiSMS est un programme sous <a href="https://www.gnu.org/licenses/gpl.txt" rel="nofollow">licence GNU GPL</a>.<br/>
|
||||
</footer>
|
||||
<audio id="reception-sound">
|
||||
<source src="<?php echo HTTP_PWD; ?>sounds/receptionSound.ogg" type="audio/ogg">
|
||||
<source src="<?php echo HTTP_PWD; ?>sounds/receptionSound.mp3" type="audio/mpeg">
|
||||
<source src="<?php echo HTTP_PWD; ?>sounds/receptionSound.wav" type="audio/wav">
|
||||
</audio>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue