HTML5 Client sound - added sound for unreadMessages
This commit is contained in:
parent
20eea9cb06
commit
0a4248d144
@ -60,6 +60,11 @@ class NavBar extends Component {
|
||||
});
|
||||
}
|
||||
|
||||
soundForUnreadeMessages() {
|
||||
const snd = new Audio('resources/sounds/notify.mp3');
|
||||
snd.play();
|
||||
}
|
||||
|
||||
render() {
|
||||
const { hasUnreadMessages, beingRecorded } = this.props;
|
||||
|
||||
@ -88,6 +93,7 @@ class NavBar extends Component {
|
||||
<div className={styles.right}>
|
||||
<SettingsDropdown />
|
||||
</div>
|
||||
{hasUnreadMessages ? this.soundForUnreadeMessages() : null}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
BIN
bigbluebutton-html5/public/resources/sounds/notify.mp3
Executable file
BIN
bigbluebutton-html5/public/resources/sounds/notify.mp3
Executable file
Binary file not shown.
Loading…
Reference in New Issue
Block a user