Embed on your website
Show a video on WordPress, Webflow, Squarespace, Ghost, or any website by pasting an iframe.
Paste an iframe to show a video on a website you don't build yourself, such as a WordPress or Webflow site. Chunkify hosts the player, so your site's theme and plugins can't change how it looks or plays.
Before you start, check that:
- Public playback is turned on for the video asset.
- The video's storage has a CDN.
- The CDN's CORS rule allows
https://chunkify.dev. If you connected your storage with the guided Cloudflare setup, this is already done.
Get the embed code
Open the video asset and select Embed in its Playback section, then Copy code. The code already matches the video's shape.
If the tab shows a message instead of the code, it tells you what's missing.
Add it to your site
Paste the code where the video should appear: in a WordPress Custom HTML block, a Webflow Code Embed element, a Squarespace Code block, a Ghost HTML card, or any HTML on your page.
Paste the link
Some editors turn a pasted link into the player for you. Copy the video asset's Public page URL and paste it on its own line. Editors that support oEmbed, such as Ghost or Notion, show the player. Others show a link preview with the video's poster. Previews show the video asset's title, so give it one you're happy to share. You can paste the link as soon as the upload finishes: until the video can play, the player says it's processing and starts once it's ready.
WordPress only turns links from providers on its own list into players, so use the embed code in a Custom HTML block there.
To look up the player yourself, call https://chunkify.dev/oembed?url= with the video's public page or embed URL. Add maxwidth or maxheight to fit the player in a smaller space.
Set the player appearance
Every embed uses the appearance saved for your Project. To change it, open the playground from Video streaming → Playground, or select Open in playground in a video's Playback section, then choose:
- Theme: Auto follows each viewer's system setting. Light or Dark always uses one palette.
- Colors: set the primary, secondary, and accent colors for the light and dark palettes.
- Player buttons: turn off buttons you don't want, such as Cast or Picture-in-picture. The player shows the others only when the video and browser support them.
When you select Save, embeds already on your websites update within a minute. To set it from your code, use the Project's player_appearance in the API.
Styles on the page around the iframe don't affect the player.
Playback options
To change how one embed plays, add parameters to its src URL, for example …/embed/ast_2vHSfUdwBNDnrdWlCXqhz9Ycm6M?autoplay=1&loop=1. In the playground, the Embed tab adds them for you.
| Parameter | Effect |
|---|---|
autoplay=1 |
Starts playback muted, as browsers require. |
muted=1 |
Starts muted. |
loop=1 |
Restarts at the end. |
start=90 |
Starts at 90 seconds. |
theme=light or theme=dark |
Uses one palette instead of the saved theme. |
Troubleshooting
- The video is unavailable: check the three points at the top of this page. If the CDN refuses
https://chunkify.dev, the browser console says so. - Fullscreen is missing or the embed disappears: keep the
allowandallowfullscreenattributes when you paste the code. Some website builders and plans remove iframes from HTML blocks. - A change doesn't show yet: embeds pick up a new appearance or Public playback setting within a minute.


