Welcome to our WXSD DEMO Repo!
This project enables the user to embed the webex meetings widget with just a few lines of HTML code. Before this, if the user has to embed the webex meetings widget, he was able to do it only using react code. Now we have created CDN link for Webex Meetings Widget which allows developers to easily include Webex meetings functionality into your application.
- Developed and tested on MacOs Ventura(13.2.1) and Windows 11
- React version >17.0.2 (recommended)
- Due to the use of the getDisplayMedia(), screen sharing is not available on mobile browsers and on Internet Explorer browser.
- It is available on the following browsers: Chrome (v>=72), Edge (v>=79), Firefox (v>=66), Opera (v>=60), Safari (v>=13).
Using our CDN requires the least amount of work to get started. Add the following into your HTML file in the head section:
<link href="https://cdn.jsdelivr.net/gh/WXSD-Sales/embeddable-meetings-widget/docs/webex-widgets.css" />
<script src="https://cdn.jsdelivr.net/gh/WXSD-Sales/embeddable-meetings-widget/docs/bundle.js"></script>
You can then instantiate the widget by providing the following parameters:
<div id="embeddable-meetings-widget"></div>
<script>
webexMeetingsWidget({accessToken : "ACCESS_TOKEN",
meetingDestination : "MEETINGS_DESTINATION",
theme : "light",
draggable : true,
width : "800px",
height : "500px",
layout : "Grid",
inMeetingControls : ['mute-audio','leave-meeting'],
interstitialControls : ['join-meeting']});
</script>
See the Accounts and Authentication section of our developer portal for more information on how to obtain access tokens.
A meeting destination is virtual location where the Webex meeting takes place. A meeting destination can be accessed via:
- SIP URIs (Webex Meetings, Personal Meeting Rooms and Webex cloud-registered devices only)
- Email address (of a Webex user)
- People IDs
- Room IDs
Developers can choose how widget should look based on following themes:
- Dark theme:
- Use
theme="dark"
as prop value in Meetings widget.
- Use
- Light theme:
- Use
theme="light"
as prop value in Meetings widget.
- Use
And if no theme is chosen it selects the browser's theme by default.
Developers can choose if the widget needs to be draggable or not by setting:
draggable: true
if you want the widget to be draggable
draggable: false
if you want the widget in a particular place
Remove video from participants can be displayed in many different ways. Developers can choose how remote video displays based on the following layouts:
Grid layout divides remote participants in equal segments, giving visibility to a lot of speakers at the same time.
Use layout="grid"
as prop value in Meetings widget.
Overlay layout displays the active speaker prominently, while overlaying other participants in a strip at the bottom.
Use layout="overlay"
as prop value in Meetings widget.
Stack layout is similar to overlay, but instead of displaying other participants in a strip at the bottom, non-active speakers are placed on top of the active speaker. Stacking videos gives full visibility to everyone's video.
Use layout="stack"
as prop value in Meetings widget.
Prominent layout gives focus to the active speaker and displays other participants around this participant.
Use layout="prominent"
as prop value in Meetings widget.
Focus layout gives all visibility to the active speaker. All other participants are not displayed until they speak, who then would take over as active speaker.
Use layout="focus"
as prop value in Meetings widget.
The minimum width is set to 700px. Any width modifications above the minimum width will be applied.
The minimum heoght is set to 500px. Any height modifications above the minimum height will be applied.
Developers can customize the meeting controls used by the Meetings widget. The Webex Meetings Widget takes an optional function to specify a custom list of controls for a meeting and an optional range to specify which controls can be collapsed if not enough space is available.
mute-audio
mute-video
share-screen
member-roster
settings
leave-meeting
mute-audio
mute-video
settings
join-meeting
Check out our live demo, available here!
*For more demos & PoCs like this, check out our Webex Labs site.
All contents are licensed under the MIT license. Please see license for details.
Everything included is for demo and Proof of Concept purposes only. Use of the site is solely at your own risk. This site may contain links to third party content, which we do not warrant, endorse, or assume liability for. These demos are for Cisco Webex usecases, but are not Official Cisco Webex Branded demos.
Please contact the WXSD team at [email protected] for questions. Or, if you're a Cisco internal employee, reach out to us on the Webex App via our bot ([email protected]). In the "Engagement Type" field, choose the "API/SDK Proof of Concept Integration Development" option to make sure you reach our team.