mirror of
https://github.com/Mibew/mibew.git
synced 2024-11-15 08:34:11 +03:00
Implement prototype for invitation sound playback
This commit is contained in:
parent
9294697d58
commit
1210561448
@ -357,6 +357,12 @@ var Mibew = Mibew || {};
|
||||
+ '</h1>';
|
||||
}
|
||||
|
||||
// Play sound
|
||||
var sound = document.getElementById('mibew-notification-sound');
|
||||
if (sound) {
|
||||
sound.play();
|
||||
}
|
||||
|
||||
// Broadcast message from the thread related with invitation into iframe
|
||||
if (threadUrl) {
|
||||
popuptext += '<iframe id="mibew-invitation-frame" '
|
||||
|
BIN
src/mibew/sounds/invite.mp3
Normal file
BIN
src/mibew/sounds/invite.mp3
Normal file
Binary file not shown.
BIN
src/mibew/sounds/invite.wav
Normal file
BIN
src/mibew/sounds/invite.wav
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user