Embed Daily Prebuilt

Daily Prebuilt

Daily Prebuilt is a complete, full-featured video call component that you can embed in your app or website with just a few lines of code. Once you create a Daily room URL, you can embed it in any website or app.

Video call with one participant's camera on embedded on a web page Our embedded Daily Prebuilt demo app.

When to use Daily Prebuilt

If speed is your top priority, Daily Prebuilt is the best choice: in minutes, you can prototype video calls within your application. You might also want to consider using Daily Prebuilt if video chat is a feature that you need to add, but not necessarily one that you need to customize. If you do want to customize your video chat interface, you'll want to use the Daily call object.

Daily Prebuilt features

  • Ready-to-use video chat interface
  • Built-in bandwidth management
  • Cross-browser compatibility
  • Screen sharing
  • Active speaker and grid layout modes
  • Text chat
  • Participant list
  • Network analytics display
  • Localized interfaces
  • Electron compatible
  • Recording*
  • HIPAA compliance**

* Recording is a Scale plan feature. Read more about our pricing.

** Building a HIPAA compliant video chat with Daily is only available on the Scale plan, and involves a few additional steps to set up. Learn about HIPAA compliant video calls with Daily.

Read more about different room settings in our guide to setting up calls.

Step-by-step guide: embed Daily Prebuilt

First, you'll need a Daily room URL. Once you have one ready, replace DAILY_ROOM_URL in the code snippet below with your own room URL (e.g. https://your-team.daily.co/hello).

You can either paste that code into your own html file and then open it in your browser, or remix this Glitch project if you’d prefer to experiment in a playground.

Importing daily-js through NPM

As an alternative to the script import shown here, you can also import daily-js via our NPM package as follows:

npm install @daily-co/daily-js
// or with yarn
yarn add @daily-co/daily-js

You can pass configuration properties to DailyIframe.createFrame() to customize how the DailyIframe looks. Here’s an example that sets the Daily Prebuilt to fullscreen:

Read about all the DailyIframe properties in our reference docs.

Suggested Daily Prebuilt posts