Skip to content

Embedding and embed controls

Public and Unlisted videos can be embedded on other websites with a standard iframe. You choose who is allowed to embed each one.

About a minute: a release date, a coming soon page, embedding only on your own websites, and country limits.

The video's script is available to download, so it can be translated for better understanding: as subtitles with timings (.srt) or as plain text (.txt).

Getting the embed code

Use the Embed button on the video in your library, or the share panel in the player. The code looks like this:

<iframe src="https://longplayplatform.com/embed/YOUR_VIDEO_ID" allow="fullscreen; picture-in-picture" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>

Keep the referrerpolicy part if you edit the code - it lets the player see which site it is on, which "Only my websites" depends on.

Who can embed

Open the video's edit page, choose Who can watch, and find Embedding:

  • Anyone (the default) - the video plays wherever it is embedded.
  • No one - embedding is off. The video only plays on Long Play.
  • Only my websites (Creator plan and up) - list up to 25 websites, one per line. mysite.com also covers its subdomains, such as www.mysite.com and blog.mysite.com. On any other site the player shows "This video is unavailable".

Embed only (hide the Long Play page)

For an Unlisted video set to Only my websites, you can also hide its Long Play watch page, so it only plays on your own sites. See Visibility settings.

Private videos can't be embedded. If you move from the Creator plan to Free, "Only my websites" videos stop playing in embeds until you upgrade again or choose a different setting.

For recommended sizes and paste-to-embed, see Embedding your video.

← Back to Privacy and Sharing