WordPress Integration
Embed Zidi videos directly into your WordPress posts and pages using the Custom HTML block.
How to Embed
- Open your video in Zidi and click Share.
- Copy the embed code (iframe snippet).
- In WordPress, open the page or post editor (Gutenberg).
- Add a Custom HTML block.
- Paste the embed code into the block.
- Click Preview to verify, then Publish.
Embed Code
<iframe
src="https://app.zidi.ai/v/your-video-slug"
width="640"
height="360"
frameborder="0"
allowfullscreen
style="border: none; border-radius: 8px;"
></iframe>Responsive Embed
To make the video responsive, wrap it in a container:
<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>Classic Editor
If you're using the WordPress Classic Editor:
- Switch to the Text tab (not Visual).
- Paste the embed code where you want the video.
- Switch back to Visual to preview.
WordPress.com
WordPress.com Business and eCommerce plans support custom HTML. Free and Personal plans may have restrictions on iframe embeds.
Tips
- Use the responsive wrapper for mobile-friendly layouts.
- The embed supports password-protected videos — viewers will see a password prompt.
- Add tracking pixels to your Zidi videos for analytics on embedded views.
- CTAs and engagement tracking work inside embedded videos.