Hey @gnovia
Preface of my solution
Hey what you are asking is very well possible. My interest in obscuring info came when I ran a event management page, where people needed to pay to join an event-meeting. If I was foolish enough to give out crucial details of the meeting, unpaid user(s) would join without knowledge (though we had the paid users as a registrant to the meeting).
Enough taking, here is the solution:
If you go to https://marketplacefront.zoom.us/sdk/meeting/web/ZoomMtg.html, you will get all required functions and docs required to work with the SDK.
As we use ZoomMtg.init({params})
to initiate a meeting (documentation of which is found at https://marketplacefront.zoom.us/sdk/meeting/web/ZoomMtg.html#init), here is a code snippet:
PLEASE NOTE: this snippet here is optimized according to your needs.
ZoomMtg.init({
... (All other options),
disableReport: false, // Optional
// Toggle the meeting header, includes meeting number and topic
showMeetingHeader: true, // Optional,
// Toggle the Invite Button Option
disableInvite: false // Optional
// Meeting Info to be show in that green box.
meetingInfo: [ // optional
'topic', // Topic of the meeting
'host', // Host of the meeting
'mn', // Meeting Number
'pwd', // Passcode of the meeting
'telPwd', // Numeric Passcode for Dial In Users
'invite', // Invite Link
'participant', // Participant ID
'dc', // I am not completely sure.
'enctype', // Type of Encryption Being Used
'report' // Report Meeting
]
Now if you modify the following, and keep the meetingInfo
array limited as:
ZoomMtg.init({
...,
/*
* Doing this bit redacts most information.
* I am not completely sure if this is an empty array, the green mark is invisible or not!!
*/
meetingInfo: [
'topic', // Will display only topic
'host' // Will display only host
],
disableReport: true, // Just for safety, we do this
/*
* Combining this with meetingInfo, but there is nothing unsafe about showing
* the topic.
* If you feel this is required, toggle a false.
* This overrides "meetingInfo".
*/
showMeetingHeader: true,
// This will stop participants from inviting others. So set it true.
disableInvite: true
});
Key Points
- Make sure you keep this setting if the
role is not 1
- Make sure there aren’t any more loopholes, like a
console.log(...)
etc which outputs these to the console.
If you have any other problem, feel free to ask.
A similar thread is here:
Thanks,
Anweshan.