Welcome to the new Daily Docs. Please let us know what you think.

wrap()

wrap(iframe, {properties})

Compatibility:
Prebuilt
Custom

Use this factory method to wrap a DailyIframe DOM element that you've already defined.

The first argument is the iframe you want to wrap. The second optional argument is the properties object.

You will need to set allow="microphone; camera; autoplay; display-capture"; on your DailyIframe to be able to turn on the camera and microphone, and to enable screen sharing.