Embedding Videos

Generate a video embed snippet in Ours Privacy, choose a custom domain, and paste the player into any page on your site.

Use this page to generate an embed snippet and put the player on a page.


Copy the embed snippet

  1. Open the video from the Videos list and scroll to Embed Settings.
  2. Stay on the Embed Code tab.
  3. Adjust the player color, aspect ratio, and playback options. The snippet updates as you change them. Every option is listed in Embed configuration.
  4. If you have a custom domain configured, pick it from the domain selector above the snippet so the player and assets load from your own domain.
  5. Choose Copy embed code.
  6. Paste the snippet into your page's HTML where you want the player to appear.

The snippet is available once the video finishes processing. Before then, the Embed Settings section does not appear.


What the snippet contains

The snippet is a short block of HTML that loads the hosted player in a frame on your page, plus optional data for search engines. It needs no JavaScript and no build step, so it works in any CMS or page builder that accepts an HTML block.

The frame sizes itself to the width of whatever you paste it into, so the player scales on mobile with no styling on your side. It is sized for a 16:9 player. If you picked a different aspect ratio, the snippet needs a one-number edit, described in Embed configuration.

Note: Your settings are baked into the snippet at the moment you copy it. If you change the player color or aspect ratio later, copy the snippet again and replace the one on your page.


Structured data for search engines

Include SEO Schema is on by default. It adds a VideoObject block to the snippet describing the video's title, description, poster image, upload date, and file URL, which lets search engines recognize the page as containing a video.

The title and description come from the video's fields in the dashboard, so fill those in before you copy the snippet. Turn the option off if your CMS already emits VideoObject data for the page and you want to avoid a duplicate block.


Serving from your own domain

By default the player and video files load from a shared Ours Privacy domain. With a custom domain configured, the domain selector lets you generate a snippet that serves both from your own domain instead. This keeps every request on your domain, which matters if your site is configured to block content loaded from other companies' domains. Your web team will know whether that applies to your site.


Verify playback

After pasting the snippet:

  1. Load the page and confirm the poster image appears.
  2. Start the video and confirm audio and captions work.
  3. If you have the Ours Privacy Web SDK on the page, check that engagement events arrive in Video Analytics within a few minutes.

If the player area is blank, first confirm the video shows Processed in the dashboard. If it does, your site may be blocking content loaded from the player's domain, which is a setting your web team controls. Send them the domain shown in the snippet.


Next steps

How is this guide?

On this page