customIntegrations()
customIntegrations()
Compatibility:
Prebuilt
Custom
For Daily Prebuilt, customIntegrations()
returns all currently configured integrations.
There are several options for who can start and stop integrations in a Prebuilt session. See the configuration options below.
See the documentation for the customIntegrations
property of the DailyCall
as well as the setCustomIntegrations()
method to learn how to set custom integrations in a Daily Prebuilt call.
You can return active integrations by calling customIntegrations()
on your Daily Prebuilt frame.
Properties that can be set via setCustomIntegrations()
Name | Type | Description | Default value |
---|---|---|---|
allow | string | Usage: allow : HTMLIFrameElement['allow']; Specifies the feature policy for the iframe. | |
controlledBy | '*' | 'owners' | string[] | Specifies who in the call is able to start and stop this integration. '*' means all participants can start and stop this integration. 'owners' means only meeting owners can start and stop. string[] defines the list of participants identified by their session_id. | '*' |
csp | string | Specifies the Content Security Policy for the iframe. Please check browser support before using this property - here & here. | |
iconUrl | string | Specifies a publicly available URL to an icon image file associated with the integration. | |
label | string | Used to render the integration's name in Prebuilt. | |
loading | string | 'eager' | 'lazy' By default integrations will be loaded lazily. | 'lazy' |
location | 'main' | 'sidebar' | Daily supports two different types of custom integrations: 1. Main call area integrations 2. Sidebar integrations | |
name | string | Usage: name : HTMLIFrameElement['name']; A unique name for the iframe. | |
referrerPolicy | string | Usage: referrerPolicy : HTMLIFrameElement['referrerPolicy']; Indicates which referrer to send when fetching the frame's resource. | |
sandbox | string | Usage: sandbox : string A unique policy for the iframe. Applies extra restrictions to the content in the frame. For more info see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#sandbox. | |
shared | 'owners' | string[] | boolean | When configured, it shares the integration's state with other participants in the call: - true will share with all other participants- false won't share 'owners' will share with owners only - string[] will share with participants with given list of session ids- When the integration is started, it will also be started for other participants with whom it is shared. - When it's stopped, it will stop for all participants with whom it is shared. | |
src | string | Usage: src : HTMLIFrameElement['src']; The iframe's source URL. For more info see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#src. | |
srcdoc | string | Usage: srcdoc : HTMLIFrameElement['srcdoc']; Allows you to integrate inline HTML in an iframe. For more info see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#srcdoc To see if your browser supports this, read here https://caniuse.com/iframe-srcdoc. |
Here is an example if you wanted to read the current configuration for a Miro integration: