Skip to content
Snippets Groups Projects
Commit c7f88fd1 authored by Chad Pilkey's avatar Chad Pilkey
Browse files

made the chat audio cue usable by all users

parent 73d00517
No related branches found
No related tags found
No related merge requests found
......@@ -64,7 +64,8 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
} else {
LOGGER.debug("fontSize in config.xml not found: {0}", [chatOptions.fontSize]);
}
chatNoiseCheckBox.visible = Accessibility.active;
chatNoiseCheckBox.selected = Accessibility.active;
changeChatNoise();
}
public function accessibleClick(event:KeyboardEvent):void{
......@@ -140,5 +141,5 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
selectedIndex="1" toolTip="{ResourceUtil.getInstance().getString('bbb.chat.cmbFontSize.toolTip')}" />
</mx:HBox>
<mx:CheckBox id="chatNoiseCheckBox" label="Audible Chat Notification" labelPlacement="left"
selected="true" change="changeChatNoise()" styleName="chatOptionsLabel" />
change="changeChatNoise()" styleName="chatOptionsLabel" />
</mx:VBox>
......@@ -71,7 +71,7 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
private var publicWaiting:Boolean = false;
private var publicFocus:Boolean = false;
private var noticeLabel:String;
private var chatNoiseEnabled:Boolean = true;
private var chatNoiseEnabled:Boolean = false;
[Embed(source="../sounds/notice.mp3")]
private var noticeSoundClass:Class;
......@@ -309,7 +309,7 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
}
private function playSound():void {
if (Accessibility.active && chatNoiseEnabled){
if (chatNoiseEnabled){
noticeSound.play();
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment