createTransparentFrame()

createTransparentFrame({properties})

Compatibility:
Prebuilt
Custom

A convenience method that creates a DailyCall client controlling a full-page overlay transparent Daily Prebuilt iframe that ignores all pointer events.

Only one call frame instance is supported at a time. When re-joining a call, you can either re-use the existing call frame instance or be sure to call destroy() on an existing one before creating a new one. Duplicate call frame instances will result in a plethora of issues and loud warnings. Starting in daily-js 0.45.0, createTransparentFrame() throws an Error if multiple call frame instances are detected.