Embed generator · instant

Vidzee embed code generator

Build a movie embed or a TV show embed without touching a template. Enter a TMDB ID, pick the episode, and copy the iframe — the generator produces the exact movie embed URL and the TV show embed endpoint your site needs.

Step 1

Configure your embed

Movie and TV show embeds use the same generator. Switch the type to reveal season and episode fields.

  • Movie and TV endpoints on the same host
  • Autoplay and theme parameters in the URL
  • Preview the real player before you ship
https://vidzee.site/embed/movie/533535
embed.html
<iframe src="https://vidzee.site/embed/movie/533535"
  width="100%" height="100%" frameborder="0"
  allow="autoplay; encrypted-media; picture-in-picture"
  allowfullscreen></iframe>
Load the player preview
URL patterns

The two embed endpoints, memorised in ten seconds

Every Vidzee embed is one of these two patterns. Movies take a single TMDB ID; TV shows add season and episode.

TypePatternExample
Movie embed https://vidzee.site/embed/movie/{tmdb_id} https://vidzee.site/embed/movie/533535
TV show embed https://vidzee.site/embed/tv/{tmdb_id}/{season}/{episode} https://vidzee.site/embed/tv/94997/1/1

Both endpoints accept the optional parameters documented in the Vidzee API reference — for example ?autoplay=true&theme=7c5cff.

Implementation guide

How to embed movies and TV shows on a website

The mechanics are identical for both types. The only difference is the URL pattern and, for TV, the season and episode numbers.

1. Get the TMDB ID

Search for the title on The Movie Database and copy the numeric ID from the URL. For example, themoviedb.org/movie/533535 gives you 533535. TV IDs work the same way; the season and episode come from your own catalog or the show page.

2. Build the embed URL

Insert the ID into the movie or TV pattern above. If you want the player to start automatically or use your brand color, append autoplay=true or theme=7c5cff as query parameters.

3. Add the iframe to your page

Use the snippet from the generator. Keep allowfullscreen and the allow attribute so the player can use autoplay, encrypted media and picture-in-picture where the browser supports them.

4. Make it responsive

Give the iframe a wrapper with a 16:9 aspect ratio and let the iframe fill it. This prevents the letterboxing you get from fixed pixel heights and keeps controls usable on phones.

responsive-embed.css
.embed-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

.embed-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
Accessibility: give the iframe a descriptive title attribute, for example title="Player for Movie Title". Screen readers announce it when the frame receives focus.
Recipes

Vidzee iframe integration in common stacks

The embed is framework-agnostic. These snippets show the same pattern in the three places teams usually ask about.

HTML
<div class="embed-frame">
  <iframe
    src="https://vidzee.site/embed/movie/533535"
    title="Movie player"
    allow="autoplay; encrypted-media"
    allowfullscreen>
  </iframe>
</div>
React
<div className="embed-frame">
  <iframe
    src=`https://vidzee.site/embed/tv/
      ${tmdbId}/${season}/${episode}`
    title="Episode player"
    allowFullScreen />
</div>
WordPress
Add a Custom HTML block
and paste the iframe snippet.

If the editor strips it, use a
short code or a child theme
template instead.
TV routing

Embed a whole series with one pattern

A TV show has one TMDB ID and many episodes. Vidzee routes the episode with two extra path segments, so your template never changes between seasons.

EpisodeEmbed URL
Season 1, episode 1https://vidzee.site/embed/tv/94997/1/1
Season 1, episode 2https://vidzee.site/embed/tv/94997/1/2
Season 2, episode 5https://vidzee.site/embed/tv/94997/2/5

This is the TV show embed by season and episode pattern. If you store episode numbers in your database, build the URL with a template literal and you are done.

FAQ

Embedding questions

How do I embed a movie on my website?

Copy the movie TMDB ID from themoviedb.org, build the URL https://vidzee.site/embed/movie/{tmdb_id}, and place it in an iframe inside a 16:9 container. The Vidzee embed generator on this page produces the exact code for you.

How do I embed a TV show with season and episode?

Use the TV endpoint: https://vidzee.site/embed/tv/{tmdb_id}/{season}/{episode}. Season and episode are one-based, so the first episode of the first season is /1/1. The generator switches to this pattern automatically when you select TV show.

What is the difference between a movie embed URL and a TV show embed URL?

Movie embeds stop after the TMDB ID. TV show embeds add two path segments, season and episode, because a single TV ID covers an entire series. Both use the same host and the same optional query parameters.

Can I generate iframe code without writing it myself?

Yes. The Vidzee embed generator at the top of this page builds the URL and the iframe snippet from your inputs. You can copy either one with a single click.

How do I make the iframe responsive?

Wrap the iframe in a container with a 16:9 aspect ratio and set the iframe to fill it. The player adapts its controls to the available width, so the same markup works on phones, tablets and desktops.

Does the embed work in WordPress?

Yes. Paste the iframe into a Custom HTML block. If your theme strips iframes, use a plugin that allows iframes or add the code through a child theme template.

Your next embed is one ID away

Use the generator above, or read the API reference for the full parameter list and player events.

Copied to clipboard