# Put your videos on any website with one iframe

> Copy an embed code from the dashboard and paste it into WordPress, Webflow, Squarespace, Ghost, or any page. The player streams from your CDN and uses the appearance you choose for your Project, so every embed looks the same and updates when you change it.

## Paste one iframe

Until now, showing a Chunkify video on a website meant adding Chunkify Player to the page with a script tag or the React component. That works in an application you build, but website builders often strip scripts, delay them, or restyle the player.

Each video asset now has an embed code. Open the asset, select **Embed** in its **Playback** section, and copy it:

```html
<iframe
  src="https://chunkify.dev/embed/ast_2vHSfUdwBNDnrdWlCXqhz9Ycm6M"
  title="Video player"
  style="width: 100%; aspect-ratio: 16 / 9; border: 0;"
  allow="autoplay; fullscreen; picture-in-picture"
  allowfullscreen
  loading="lazy"
></iframe>
```

Paste it into a WordPress **Custom HTML** block, a Webflow **Code Embed** element, a Squarespace **Code** block, a Ghost **HTML** card, or any HTML. Chunkify hosts the player inside the iframe, so your site's theme and plugins can't change it. The code is sized to the video's shape, including vertical videos.

<a href="/blog/assets/images/releases/video-embeds/embed-on-website.jpg"><img width="908" alt="A sample blog post with an embedded Chunkify video between two paragraphs" src="/blog/assets/images/releases/video-embeds/embed-on-website.jpg"/></a>

## Paste a link instead of code

To show the player in a page or document, such as in Notion, paste the video asset's **Embed URL** on its own line, such as `https://chunkify.dev/embed/ast_2vHSfUdwBNDnrdWlCXqhz9Ycm6M`. To share the video with people, send its **Public page URL** instead: chat apps such as Slack and Discord show a preview with the video's title and poster.

## Set the player's look once

The playground now saves the player appearance on your Project: light and dark colors, whether the player follows the viewer's system theme or always uses one palette, and which buttons to show, such as Picture-in-picture or Cast. Embeds use the saved appearance. When you change it, embeds already on your websites update within a minute, without editing them.

<a href="/blog/assets/images/releases/video-embeds/player-appearance.jpg"><img width="1104" alt="Playground with the Appearance panel showing the theme, the color fields, and the Player buttons section, next to a preview of the player" src="/blog/assets/images/releases/video-embeds/player-appearance.jpg"/></a>

The same values fill in the Next.js and HTML examples you copy from the playground. You can also set them with `player_appearance` on `PATCH /projects/{projectId}`:

```json
{
  "player_appearance": {
    "mode": "auto",
    "light": { "primary": "#18181b", "secondary": "#ffffff", "accent": "#16a34a" },
    "dark": { "primary": "#f4f4f5", "secondary": "#27272a", "accent": "#16a34a" },
    "hidden_controls": ["pip", "cast"]
  }
}
```

## Choose playback for each embed

Add parameters to the embed URL: `autoplay=1` (always muted, as browsers require), `muted=1`, `loop=1`, `start=90`, or `theme=light` and `theme=dark` to use one palette on a particular page. The playground's **Embed** tab adds them for you.

## What an embed needs

An embed plays your video from your own storage's CDN, so the video asset needs **Public playback** turned on and a CDN. Your CDN must also allow `https://chunkify.dev` in its CORS settings; if you connected your storage with the guided Cloudflare setup, this is already done. Videos in Chunkify temporary storage can't be embedded.

## Get started

Open a video asset in your own storage with a CDN and select **Embed**. [Embed on your website](/docs/integration/embed) covers the options and common problems.
