daily-examples/prebuilt-ui/basic-embed
Kimberlee Johnson b235b9a211 Componentize-ing, styling tweaks, README updates, typos 2021-10-05 10:01:55 -07:00
..
components Componentize-ing, styling tweaks, README updates, typos 2021-10-05 10:01:55 -07:00
pages Componentize-ing, styling tweaks, README updates, typos 2021-10-05 10:01:55 -07:00
public Fixed links and image src, added margin 2021-10-05 10:01:54 -07:00
.env.example Initial commit to add Prebuilt embed demo 2021-10-05 10:01:51 -07:00
.eslintrc.json Initial commit to add Prebuilt embed demo 2021-10-05 10:01:51 -07:00
.gitignore Initial commit to add Prebuilt embed demo 2021-10-05 10:01:51 -07:00
README.md Componentize-ing, styling tweaks, README updates, typos 2021-10-05 10:01:55 -07:00
basic-embed.gif Fixed links and image src, added margin 2021-10-05 10:01:54 -07:00
next.config.js Initial commit to add Prebuilt embed demo 2021-10-05 10:01:51 -07:00
package.json Moved getStaticProps to index and prefixed project 2021-10-05 10:01:55 -07:00
yarn.lock Initial commit to add Prebuilt embed demo 2021-10-05 10:01:51 -07:00

README.md

Daily Prebuilt: Next.js demo

Clicking create room button starts a call

How the demo works

This demo embeds Daily Prebuilt, a ready-to-use video chat interface, into a Next.js site. It makes use of Next API routes to create Daily rooms server-side.

Requirements

You'll need to create a Daily account before using this demo. You'll need your Daily API key, which you can find in your Daily dashboard on the Developers page, if you want to create rooms through the demo UI.

You can also paste an existing Daily room into the input. The room URL should be in this format to be valid: https://domain-name.daily.co/room-name, with daily-domain changed to your domain, and room-name changed to the name of the existing room you would like to use.

Running locally

  1. Copy .env.example and change it to an .env.local with your own DAILY_API_KEY and DAILY_DOMAIN
  2. cd basic-embed
  3. yarn
  4. yarn workspace @prebuilt-ui/basic-embed dev

Or...

Deploy your own on Vercel

Deploy with Vercel