Skip to content

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.

By the Chunkify team

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:

<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 sample blog post with an embedded Chunkify video between two paragraphs

Editors that support oEmbed, such as Ghost or Notion, show the player from a link, without the code. Copy the video asset's Public page URL, such as https://chunkify.dev/watch/ast_2vHSfUdwBNDnrdWlCXqhz9Ycm6M, and paste it on its own line. Chat apps and other tools show a link 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.

Playground with the Appearance panel showing the theme, the color fields, and the Player buttons section, next to a preview of the player

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}:

{
  "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 covers the options and common problems.

Get started

Ready to add video to your app?

Pay as you go has no monthly fee. Start without a card and get $10 in welcome credit.

Build with agents
ClaudeCodexCursor

Add video uploads and playback to my app. Use the Chunkify skill at https://chunkify.dev/SKILL.md