interface InitOptions {
    assetPath?: string;
    customize?: {
        activeApps?: {
            popper?: PopperStyle;
        };
        chat?: {
            notificationCls?: PositionStyle;
            popper?: PopperStyle;
        };
        inviteUrlFormat?: string;
        meeting?: {
            popper?: PopperStyle;
        };
        meetingInfo?: MeetingInfoType[];
        participants?: {
            popper?: PopperStyle;
        };
        setting?: {
            popper?: PopperStyle;
        };
        sharing?: {
            options?: {
                hideShareAudioOption?: boolean;
            };
        };
        toolbar?: {
            buttons?: CustomButton[];
        };
        video?: VideoOptions;
    };
    debug?: boolean;
    language?: "en-US" | "de-DE" | "es-ES" | "fr-FR" | "jp-JP" | "pt-PT" | "ru-RU" | "zh-CN" | "zh-TW" | "ko-KO" | "vi-VN" | "it-IT" | "pl-PL" | "tr-TR" | "id-ID" | "nl-NL" | "sv-SE";
    leaveOnPageUnload?: boolean;
    maximumVideosInGalleryView?: number;
    patchJsMedia?: boolean;
    webEndpoint?: string;
    zoomAppRoot: undefined | HTMLElement;
}

Properties

assetPath?: string

Param: assetPath

Default 'https://source.zoom.us/{version}/lib/av'.

customize?: {
    activeApps?: {
        popper?: PopperStyle;
    };
    chat?: {
        notificationCls?: PositionStyle;
        popper?: PopperStyle;
    };
    inviteUrlFormat?: string;
    meeting?: {
        popper?: PopperStyle;
    };
    meetingInfo?: MeetingInfoType[];
    participants?: {
        popper?: PopperStyle;
    };
    setting?: {
        popper?: PopperStyle;
    };
    sharing?: {
        options?: {
            hideShareAudioOption?: boolean;
        };
    };
    toolbar?: {
        buttons?: CustomButton[];
    };
    video?: VideoOptions;
}

Type declaration

  • Optional activeApps?: {
        popper?: PopperStyle;
    }

    Param: activeApps

    Customization options for the active apps notifier popper position.

  • Optional chat?: {
        notificationCls?: PositionStyle;
        popper?: PopperStyle;
    }

    Customization options for chat notifications and panel.

    Param: notificationCls

    Options for chat notifications.

    Param: popper

    Options for the underlying popper element.

  • Optional inviteUrlFormat?: string

    Customize the meeting invite URL format (e.g. https://yourdomain/{0}?pwd={1}). This will not work by default, you need to set Enable Client SDK Customize Invite Url.

  • Optional meeting?: {
        popper?: PopperStyle;
    }

    Customization options for the meeting info panel.

    Param: popper

    Options for the underlying popper element.

  • Optional meetingInfo?: MeetingInfoType[]

    Customization options for meeting info attributes.

  • Optional participants?: {
        popper?: PopperStyle;
    }

    Customization options for the participants panel.

    Param: popper

    Options for the underlying popper element.

  • Optional setting?: {
        popper?: PopperStyle;
    }

    Customization options for the settings panel.

    Param: popper

    Options for the underlying popper element.

  • Optional sharing?: {
        options?: {
            hideShareAudioOption?: boolean;
        };
    }

    Customization options for screen sharing. When sharing a Chromium browser tab, users can transmit both audio playing in the tab and from their microphone. When sharing using a non-Chromium browser, users can only share their window or entire browser and no screen audio, but they can use their microphone audio.

    • Optional options?: {
          hideShareAudioOption?: boolean;
      }

      Start-screen-share options

      • Optional hideShareAudioOption?: boolean

        Show (default, false) or hide (true) the "Share tab audio" checkbox when sharing a Chrome tab

  • Optional toolbar?: {
        buttons?: CustomButton[];
    }

    Customization options for the toolbar.

    Param: buttons

    Custom buttons to add to the toolbar dropdown menu.

  • Optional video?: VideoOptions

    Customization options for the video or suspension view.

Param: customize

Optional customization options for the embedded client.

debug?: boolean
language?: "en-US" | "de-DE" | "es-ES" | "fr-FR" | "jp-JP" | "pt-PT" | "ru-RU" | "zh-CN" | "zh-TW" | "ko-KO" | "vi-VN" | "it-IT" | "pl-PL" | "tr-TR" | "id-ID" | "nl-NL" | "sv-SE"

Param: language

Default 'en-US'.

leaveOnPageUnload?: boolean

Immediately leave the meeting when refreshing or closing the page, instead of experiencing a delay in leaving the meeting (failover). Caveat for the scenario:

  • Breakout room: in rooms users need to be assigned again instead of being assigned and auto join the room.
maximumVideosInGalleryView?: number

Maximum participants displayed per screen in gallery view, up to 25.

patchJsMedia?: boolean

patchJsMedia: Optional. Default: false. Set to true to automatically apply the latest media dependency fix for the current Meeting SDK for web version. Note that you will still need to manually upgrade to major and minor version releases.

webEndpoint?: string

Param: webEndpoint

Default 'zoom.us'.

zoomAppRoot: undefined | HTMLElement

Renders the toolbar and main-panel-view using ReactDOM into the given container.

Param: zoomAppRoot

The HTML element, typically a

, to render the toolbar in.