- add tooltips for control buttons
This commit is contained in:
parent
bf1c99d317
commit
2af0b5cb22
@ -106,6 +106,10 @@ bbb.listenerItem.lockImg.toolTip = Click to keep muted or unmuted
|
||||
bbb.listenerItem.muteUnmute.toolTip = Mute or unmute this listener
|
||||
bbb.publishVideo.title = Share your webcam
|
||||
bbb.publishVideo.startPublishBtn.toolTip = Start Sharing
|
||||
bbb.video.controls.muteButton.toolTip = Mute or unmute {0}
|
||||
bbb.video.controls.switchPresenter.toolTip = Make {0} presenter
|
||||
bbb.video.controls.ejectUserBtn.toolTip = Eject {0} from meeting
|
||||
bbb.video.controls.privateChatBtn.toolTip = Chat with {0}
|
||||
bbb.video.publish.close.tooltip = Stop sharing your video
|
||||
bbb.video.publish.close.label = Close
|
||||
bbb.video.keepAspectBtn.tooltip = Keep window aspect
|
||||
|
@ -92,30 +92,24 @@
|
||||
} else {
|
||||
muteUnmuteBtn.visible = switchPresenter.visible = ejectUserBtn.visible = false;
|
||||
}
|
||||
muteUnmuteBtn.toolTip = ResourceUtil.getInstance().getString('bbb.video.controls.muteButton.toolTip', [UsersUtil.getUserName(sharerUserID)]);
|
||||
switchPresenter.toolTip = ResourceUtil.getInstance().getString('bbb.video.controls.switchPresenter.toolTip', [UsersUtil.getUserName(sharerUserID)]);
|
||||
ejectUserBtn.toolTip = ResourceUtil.getInstance().getString('bbb.video.controls.ejectUserBtn.toolTip', [UsersUtil.getUserName(sharerUserID)]);
|
||||
}
|
||||
|
||||
private function showPrivateChatButton():void {
|
||||
var chatOptions:ChatOptions = new ChatOptions();
|
||||
if (chatOptions.privateEnabled) {
|
||||
if (chatOptions.privateEnabled && ! UsersUtil.isMe(sharerUserID)) {
|
||||
privateChatBtn.toolTip = ResourceUtil.getInstance().getString('bbb.video.controls.privateChatBtn.toolTip', [UsersUtil.getUserName(sharerUserID)]);
|
||||
privateChatBtn.visible = true;
|
||||
} else {
|
||||
privateChatBtn.visible = false;
|
||||
}
|
||||
}
|
||||
]]>
|
||||
</mx:Script>
|
||||
<mx:Button id="muteUnmuteBtn" visible="{showButton}" click="onMuteUnmuteClicked()"
|
||||
icon="{img_mute_icon}" width="{BUTTONS_SIZE}" height="{BUTTONS_SIZE}"
|
||||
toolTip="{ResourceUtil.getInstance().getString('bbb.viewers.viewersGrid.statusItemRenderer.raiseHand.toolTip'),
|
||||
[new Date()]}"/>
|
||||
<mx:Button id="switchPresenter" visible="{showButton}" click="onSwitchPresenterClicked()"
|
||||
icon="{adminIcon}" width="{BUTTONS_SIZE}" height="{BUTTONS_SIZE}"
|
||||
toolTip="{ResourceUtil.getInstance().getString('bbb.viewers.viewersGrid.statusItemRenderer.raiseHand.toolTip'),
|
||||
[new Date()]}"/>
|
||||
<mx:Button id="ejectUserBtn" visible="{showButton}" click="onKickUserClicked()"
|
||||
icon="{signOutIcon}" width="{BUTTONS_SIZE}" height="{BUTTONS_SIZE}"
|
||||
toolTip="{ResourceUtil.getInstance().getString('bbb.viewers.viewersGrid.statusItemRenderer.raiseHand.toolTip'),
|
||||
[new Date()]}"/>
|
||||
<mx:Button id="privateChatBtn" click="onPrivateChatClicked()"
|
||||
icon="{chatIcon}" width="{BUTTONS_SIZE}" height="{BUTTONS_SIZE}"
|
||||
toolTip="{ResourceUtil.getInstance().getString('bbb.viewers.viewersGrid.statusItemRenderer.raiseHand.toolTip'),
|
||||
[new Date()]}"/>
|
||||
<mx:Button id="muteUnmuteBtn" visible="false" click="onMuteUnmuteClicked()" icon="{img_mute_icon}" width="{BUTTONS_SIZE}" height="{BUTTONS_SIZE}"/>
|
||||
<mx:Button id="switchPresenter" visible="false" click="onSwitchPresenterClicked()" icon="{adminIcon}" width="{BUTTONS_SIZE}" height="{BUTTONS_SIZE}"/>
|
||||
<mx:Button id="ejectUserBtn" visible="false" click="onKickUserClicked()" icon="{signOutIcon}" width="{BUTTONS_SIZE}" height="{BUTTONS_SIZE}"/>
|
||||
<mx:Button id="privateChatBtn" click="onPrivateChatClicked()" icon="{chatIcon}" width="{BUTTONS_SIZE}" height="{BUTTONS_SIZE}"/>
|
||||
</mx:HBox>
|
||||
|
Loading…
Reference in New Issue
Block a user