anyvidy

A free TMDB-based video embed API. Drop one iframe into your site and get a clean, ad-free player — movies and full TV series, resolved on the fly.

Live demo

Showing /embed/movie/550 (resolves if that TMDB id is in the library).

Endpoints

Movie

https://anyvidy.net/embed/movie/{tmdb_id}

TV episode

https://anyvidy.net/embed/tv/{tmdb_id}/{season}/{episode}

Embed it

<iframe
  src="https://anyvidy.net/embed/movie/550?color=e50914&autoPlay=true"
  width="100%" height="100%"
  frameborder="0"
  allow="autoplay; fullscreen; picture-in-picture"
  allowfullscreen>
</iframe>

Player parameters

ParamExampleDescription
colore50914Accent/progress colour (hex, no #).
autoPlaytrueStart playing immediately (muted recommended by browsers).
mutedtrueStart muted.
progress620Resume position in seconds.
nextEpisodefalseTV only — hide the “Next” button (shown by default).
autoNexttrueTV only — auto-advance to the next episode when one ends.

Progress tracking

The player posts events to the parent window — listen for them to save watch progress:

window.addEventListener("message", (e) => {
  if (e.data?.type !== "PLAYER_EVENT") return;
  const { event, currentTime, duration, progress, id, season, episode } = e.data.data;
  // event: "ready" | "play" | "pause" | "seeked" | "timeupdate" | "ended"
  console.log(event, id, currentTime, "/", duration, progress + "%");
});

Manage the library at /admin.