Squarespace Integration
Embed Zidi videos on your Squarespace website using a Code block.
How to Embed
- Open your video in Zidi and click Share.
- Copy the embed code (iframe snippet).
- In Squarespace, edit the page where you want the video.
- Click Add Block (+) and select Code.
- Paste the embed code into the code block.
- Make sure Display Source is turned off.
- Click outside the block to save, then Publish.
Embed Code
<iframe
src="https://app.zidi.ai/v/your-video-slug"
width="100%"
height="400"
frameborder="0"
allowfullscreen
style="border: none; border-radius: 8px;"
></iframe>Responsive Embed
For a responsive video that maintains its aspect ratio:
<div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;">
<iframe
src="https://app.zidi.ai/v/your-video-slug"
style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; border-radius: 8px;"
allowfullscreen
></iframe>
</div>Squarespace Versions
- Squarespace 7.1 — Use the Code block in any section.
- Squarespace 7.0 — Use the Code block or Markdown block.
Code blocks are available on all Squarespace plans (Business and above for JavaScript injection).
Tips
- Use the responsive wrapper for mobile-friendly layouts.
- Password-protected videos show a password prompt inside the embed.
- Add tracking pixels for analytics on embedded views.
- CTAs and engagement tracking work inside embedded videos.