Skip to content
Koit Academy

Websites & SEO

·

5 min read

How to Add Video Schema (VideoObject) Markup

How to add VideoObject structured data, the required name, thumbnail and upload date, contentUrl vs embedUrl, duration format and key moments for Google.

By Koit Academy

Video structured data describes a video on your own page: its title, thumbnail, when it was published, how long it is and where the file or player lives. Google uses it to find and understand videos, to show them in video results with a thumbnail and duration, and, with extra markup, to show key moments that jump to a point in the video. For a business that publishes how-to videos on its own site, it is often the difference between Google noticing the video and not.

What Google requires

Three properties are required on a VideoObject:

  • name: the video’s title;
  • thumbnailUrl: the URL of a thumbnail image;
  • uploadDate: when the video was first published, in ISO 8601 format.

Google’s documentation notes that without these it may not be able to extract any information about the video.

What Google recommends

  • contentUrl: the URL of the video file itself. Google calls this the most effective way for it to fetch your video content.
  • embedUrl: the URL of the player, used when contentUrl is not available, such as for a video embedded from another platform.
  • description: what the video shows. HTML in it is ignored.
  • duration: the length, in ISO 8601 duration format.

A JSON-LD example

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "VideoObject",
  "name": "How to Replace a Tap Washer in Five Minutes",
  "description": "Stop a dripping tap by replacing the washer: turning off the water, taking the tap apart, fitting the new washer and testing it.",
  "thumbnailUrl": ["https://www.example.com/video/tap-washer-thumb-16x9.jpg"],
  "uploadDate": "2026-10-21T08:00:00+01:00",
  "duration": "PT4M52S",
  "contentUrl": "https://www.example.com/video/tap-washer.mp4"
}
</script>

The video schema generator builds this block from a form, converts a duration written as 4:52 into the PT4M52S format, and adds key moments if you list them.

The duration format

ISO 8601 durations start with PT and give hours, minutes and seconds with letters:

  • 4 minutes 52 seconds is PT4M52S;
  • 1 hour 2 minutes 3 seconds is PT1H2M3S;
  • 45 seconds is PT45S.

A common mistake is writing the duration as “4:52”, which is not valid in markup.

Dates

uploadDate is the date the video was first published, with a time zone offset recommended, for example 2026-10-21T08:00:00+01:00. It should not change when the page is edited.

The page must let people watch the video

Google’s documentation says the VideoObject markup must be on a page where users can watch the video. A page that only mentions a video, or links to it elsewhere, is not a watch page.

contentUrl or embedUrl?

  • Hosted yourself: give contentUrl, the file’s URL. That lets Google fetch the video directly.
  • Embedded from a platform: give embedUrl, the player’s URL, and contentUrl if the platform provides a file URL.

Both URLs must be reachable by Google. A file behind a login or blocked by robots.txt cannot be used.

Thumbnails

The thumbnail is often the first thing people see in video results, so choose a clear frame or a designed image rather than whatever the first frame happens to be. Several sizes or ratios can be listed. The aspect ratio calculator works out the dimensions of a 16:9 or 4:3 thumbnail for any width.

Key moments

Key moments let searchers jump to a section of a video from the results. There are two ways to provide them:

  • Clip: you list each segment’s label, start time and URL that starts the video there. Google says this works in all languages where Search is available.
  • SeekToAction: you describe how your URLs link to a time in the video, and Google finds the moments automatically. This is supported in fewer languages.

For both, Google says the video must be at least 30 seconds long. For a 4 minute 52 second video, Clips might be “Turn off the water” at 0 seconds, “Take the tap apart” at 45 seconds, and so on, each with the URL that starts the video at that point.

Videos hosted on video platforms

A video that lives only on a video platform is described by that platform’s own page, which already carries its own markup. Markup on your site matters when the video also appears on your page: it tells Google the video is part of that page, so the page itself can appear in video results. Use embedUrl for the embedded player, and give your own title, description and thumbnail if they differ from the platform’s.

Video and article markup together

A blog post with a video can carry both Article and VideoObject markup, describing the post and the video separately. The article schema generator builds the article part, and our guide on article schema explains it.

Common mistakes

  • No thumbnail, or one Google cannot reach.
  • Duration written as 4:52 instead of PT4M52S.
  • An uploadDate that changes every time the page is updated.
  • Markup on a page where the video cannot be played.
  • Key moments on a video shorter than 30 seconds, or with start times beyond the video’s end.

Testing it

  1. Run the page through Google’s Rich Results Test.
  2. Use URL Inspection in Search Console to check that Google sees the live page and the video.
  3. Watch the Video indexing report in Search Console, which shows whether Google found and indexed videos on your pages and why some were not.

Common questions

What is required for video schema? A name, a thumbnail URL and an upload date.

Do I need video schema for YouTube videos embedded on my site? It helps Google understand that the video is part of your page. Use embedUrl for the player.

What duration format does video schema use? ISO 8601, such as PT4M52S for four minutes and 52 seconds.

Can one page have several videos? Yes. Give each video that people can watch on the page its own VideoObject, with its own title, thumbnail and upload date.

How long must a video be for key moments? At least 30 seconds, according to Google.

Limits of this guide

Google’s video documentation is detailed and changes; this guide follows the version last updated on September 24, 2026. Check the current documentation for features such as live streams.

Sources, read November 15, 2026: