[jitsi-dev] How to add a new toolbar button with listener


#1

Hi all,

I want to add a new toolbar button, down the share document button, with a
listener to redirect to a co-browser. Just for local testing. How can I do
it? Where are implemented the buttons?

Thanks,
Carles.


#2

Hey Carles,

You'll need to add a new button here:
https://github.com/jitsi/jitsi-meet/blob/master/react/features/toolbox/defaultToolbarButtons.js#L169

Then enable it in interface_config.js, and finally listen for your own
custom event to perform the action. (see how UIEvents.ETHERPAD_CLICKED is
handled).

Cheers,

···

On Wed, May 3, 2017 at 8:26 AM, Carles Morales <carlesm.95@gmail.com> wrote:

Hi all,

I want to add a new toolbar button, down the share document button, with a
listener to redirect to a co-browser. Just for local testing. How can I do
it? Where are implemented the buttons?

Thanks,
Carles.

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

--
Saúl