Hey @zoom11 (Giuseppe)!
If you want to DISABLE the Invite function, a parameter disableInvite
is a boolean flag you can use while creating the meeting [ZoomMtg.init](https://zoom.github.io/sample-app-web/ZoomMtg.html#init)
as documented in the WebSDK Reference…
ZoomMtg.init({
debug: true, //optional
leaveUrl: 'http://www.zoom.us', //required
showMeetingHeader: false, //option
**disableInvite: false, //default is false (enable), parameter is optional**
disableCallOut: false, //optional
disableRecord: false, //optional
disableJoinAudio: false, //optional
audioPanelAlwaysOpen: true, //optional
showPureSharingContent: false, //optional
isSupportAV: true, //optional,
isSupportChat: true, //optional,
isSupportQA: true, //optional,
isSupportCC: true, //optional,
screenShare: true, //optional,
rwcBackup: '', //optional,
videoDrag: true, //optional,
sharingMode: 'both', //optional,
videoHeader: true, //optional,
isLockBottom: true, // optional,
isSupportNonverbal: true, // optional,
isShowJoiningErrorDialog: true // optional
});
You also referenced in your post, the [ZoomMtg.showInviteFunction()](https://zoom.github.io/sample-app-web/ZoomMtg.html#showInviteFunction)
. This method of the WebSDK is used to toggle visibility of the Invite function, but is NOT the same as disabling the invite function as I described earlier.
If your goal is to 100% HIDE / DISABLE the Invite function:
-
When creating the meeting make sure to set
disableInvite: true
in the configuration object parameter you pass intoZoomMtg.init()
-
In the callback when the meeting has been created, make a call to
ZoomMtg.showInviteFunction({show: false})
to HIDE the Invite function.
The ZoomMtg.showInviteFunction()
is used AFTER a meeting has been created, and can be triggered/called by your web app as you see fit to make available (UI, data change, special event, etc…)
Does this help answer your question?