Introduction of RingCentral Video in RingCentral Embeddable

Drake Zhao
RingCentral Developers
2 min readJul 14, 2020

RingCentral released RingCentral Video in April, a new solution built from the ground up to provide fast, encrypted, high-quality meetings through voice, video, and screen sharing.

RingCentral Video comes with several ready to use, prebuilt integrations available in our App Gallery.

RingCentral embeddable also provides built-in support for RingCentral Video, you can try it right now with online demo.

In RingCentral embeddable, we have provided most of the features of RingCentral Video as v.ringcentral.com:

  • Schedule, start, and join meetings
  • Check meeting and meeting recording list

RingCentral embeddable also provides an API to create meetings with RingCentral Video: docs: schedule-a-meeting, which can be used in third party apps.

Schedule a meeting

// meeting info
const meetingBody = {
topic: "Embbnux Ji's Meeting",
meetingType: "Scheduled",
password: "",
schedule: {
startTime: 1583312400368,
durationInMinutes: 60,
timeZone: {
id: "1"
}
},
allowJoinBeforeHost: false,
startHostVideo: false,
startParticipantsVideo: false,
audioOptions: [
"Phone",
"ComputerAudio"
]
};

// send a request to schedule meeting
const requestId = Date.now().toString();
document.querySelector("#rc-widget-adapter-frame").contentWindow.postMessage({
type: 'rc-adapter-message-request',
requestId: requestId,
path: '/schedule-meeting',
body: meetingBody,
}, '*');

Listen schedule meeting result

// listen response
window.addEventListener('message', function (e) {
var data = e.data;
if (data && data.type === 'rc-adapter-message-response') {
if (data.responseId === requestId) {
console.log(data.response);
}
}
});

It is already used in the RingCentral for HubSpot Chrome extension, check our video preview:

To learn even more about other features we have make sure to visit our developer site and if you’re ever stuck make sure to go to our developer forum.

Want to stay up to date and in the know about new APIs and features? Join our Game Changer Program and earn great rewards for building your skills and learning more about RingCentral!

--

--