How to Embed Videos

Vidude Video Embed Integration Guide

How to Add Responsive Vidude.com Videos to Your Website

Overview

Vidude.com provides clean, ad-free video embedding made for NZ creators, businesses, and marketplaces.
You can embed any Vidude video on your website using a simple iframe.

This guide helps you:

✅ Embed videos using just a video ID or URL
✅ Make embeds fully responsive (mobile-friendly)
✅ Keep your site fast and secure

Basic Embed Example

-- To embed a long-form video from Vidude:

Get the Video ID or Embed URL
From a Vidude video page like:

https://vidude.com/watch/qMlLVDQ2auMNUg6

You will see "Embed" under the video, and you get the video ID, the embed URL, and the video embed iframe code.

The video ID is: qMlLVDQ2auMNUg6

Then use the video iframe embed code:

<iframe 
  src="https://vidude.com/embed/qMlLVDQ2auMNUg6" 
  frameborder="0" 
  width="560" 
  height="315" 
  loading="lazy" 
  allowfullscreen>
</iframe> 

You can paste this into your site's HTML, CMS, or template engine.

 

-- To embed a short-form video (Vibe) from Vidude:

Get the Video ID or Embed URL
From a Vidude video page like:

https://vidude.com/shorts/KIWjXDaVKlXDTwR

You will see the "Embed" button on the video, and you get the video ID, the embed URL, and the video embed iframe code.

The video ID is: KIWjXDaVKlXDTwR?Vibe

Then use the video iframe embed code:

<iframe 
  src="https://vidude.com/embed/KIWjXDaVKlXDTwR?Vibe" 
  frameborder="0" 
  width="315" 
  height="560" 
  loading="lazy" 
  allowfullscreen>
</iframe> 

You can paste this into your site's HTML, CMS, or template engine.

 

For CMS, Marketplaces, and Website Builders

If you don’t allow raw iframe pasting, just let your users submit:

-- The video ID

e.g., qMlLVDQ2auMNUg6 (long-form video) / KIWjXDaVKlXDTwR?Vibe (Vibe)

or


-- The embed URL

e.g., https://vidude.com/embed/HiJ8Nz34BWVT5wa (long-form video) / https://vidude.com/embed/KIWjXDaVKlXDTwR?Vibe (Vibe)

Then your system can render the iframe safely from the backend or the frontend code.

Example (in PHP, Node.js, or template logic):

<iframe 
  src="https://vidude.com/embed/{{ video_id }}" 
  frameborder="0" 
  width="560" 
  height="315" 
  loading="lazy" 
  allowfullscreen>
</iframe> 

Example (in PHP, Node.js, or template logic):

<iframe 
  src="{{ vidude_embed_url }}" 
  frameborder="0" 
  width="560" 
  height="315" 
  loading="lazy" 
  allowfullscreen>
</iframe> 

To make embeds scale on all screen sizes (desktop, tablet, mobile), add this CSS to your stylesheet:

iframe[src^="https://vidude.com/embed/"] {
  aspect-ratio: 16 / 9;
  width: 100% !important;
  height: auto !important;
  max-width: 100%;
  border: none;
}

Or update the CSS on the mobile site to detect ?Vibe (short-form video) and apply a 9:16 ratio, vibes (shorts) will auto-stretch vertically.

/* Normal 16:9 embeds */
  iframe[src^="https://vidude.com/embed/"]:not([src*="?Vibe"]) {
  aspect-ratio: 16 / 9;
  width: 100% !important;
  height: auto !important;
  max-width: 100%;
  border: none;
}

/* Shorts 9:16 embeds */
  iframe[src^="https://vidude.com/embed/"][src*="?Vibe"] {
  aspect-ratio: 9 / 16;
  width: 100% !important;
  height: auto !important;
  max-width: 100%;
  border: none;
}

This works on:

WordPress (via Customizer > Additional CSS)
Shopify (theme CSS)
Webflow (Site Settings > Custom Code)
Wix (with Embed & Style tools)
Raw HTML/CSS sites

Best Practices

✅ Always use loading="lazy" for better performance
✅ Keep embed widths flexible (use % or responsive aspect-ratio)
✅ Use Vidude embed URLs only from trusted sources
✅ Test embeds on mobile view for layout integrity

 

Example embed video: nice, clean, and ad-free.