Developers

Public API

Free, no key, no sign-up. Copy a snippet, paste it into your site, done. Embeds use https://longno.co.uk (the old lovable.app address still redirects).

Important: never put sandbox="…" on the Encryptic iframe. That triggers “Please Disable Sandbox” / “sandboxing is not allowed” inside the player.

Browser — search & watch

A full movie browser inside your site: visitors search any movie or series and watch it, all in the frame. Do not add a sandbox attribute.

<iframe
  src="https://longno.co.uk/APIMOVIES?embed=1"
  style="width:100%;height:720px;border:0;border-radius:12px"
  allow="autoplay; fullscreen; picture-in-picture; encrypted-media"
  allowfullscreen
></iframe>

Single movie

Plays one movie directly. Replace 27205 with any TMDB movie id. Never set sandbox="…" on this iframe.

<iframe
  src="https://longno.co.uk/APIMOVIES?kind=movie&id=27205&embed=1"
  style="width:100%;aspect-ratio:16/9;border:0"
  allow="autoplay; fullscreen; picture-in-picture; encrypted-media"
  allowfullscreen
></iframe>

Series episode

Plays one episode. Set id to the TMDB series id, s to the season and e to the episode.

<iframe
  src="https://longno.co.uk/APIMOVIES?kind=tv&id=1399&s=1&e=1&embed=1"
  style="width:100%;aspect-ratio:16/9;border:0"
  allow="autoplay; fullscreen; picture-in-picture; encrypted-media"
  allowfullscreen
></iframe>

JavaScript — add dynamically

Creates the player with code. Put <div id="encryptic"></div> where the player should appear, then call encryptic(). Do not set iframe.sandbox.

function encryptic({ kind, id, season = 1, episode = 1 }) {
  const p = new URLSearchParams({ embed: "1" });
  if (kind) { p.set("kind", kind); p.set("id", id); }
  if (kind === "tv") { p.set("s", season); p.set("e", episode); }
  const f = document.createElement("iframe");
  f.src = "https://longno.co.uk/APIMOVIES?" + p;
  f.style.cssText = "width:100%;aspect-ratio:16/9;border:0";
  f.allowFullscreen = true;
  f.allow = "autoplay; fullscreen; picture-in-picture; encrypted-media";
  // Important: do NOT set f.sandbox — players refuse sandboxed parents.
  document.getElementById("encryptic").replaceChildren(f);
}

// Examples:
encryptic({});                                   // search browser
encryptic({ kind: "movie", id: "27205" });       // one movie
encryptic({ kind: "tv", id: "1399", season: 1, episode: 1 }); // one episode

Parameters

NameRequiredWhat it does
embedYes1 — hides site menus for a clean player
kindFor titlesmovie or tv
idFor titlesTMDB id of the title
sNoSeason number (series, default 1)
eNoEpisode number (series, default 1)