Video

Example of a video rich result and videos in image search

Mark up your video content with structured data to make Google Search an entry point for discovering and watching videos. You can provide details such as the description, thumbnail URL, upload date, and duration. Google may use your markup to power carousels (for example, the Top stories carousel with AMP). Video markup enables a badge on the image in mobile image search results, which can encourage more users to click your content.

Mark up video gallery pages (a page with a list of videos) using ItemList structured data. Galleries of videos may be displayed as a host carousel. For more information about host-specific lists, see Carousel.

Video markup is not required, but is the recommended way of helping Google crawl and index your videos.

Examples

Here's an example of video structured data for AMP using JSON-LD.

Here's an example of standard video markup using JSON-LD.

Here's an example of a video with clips using JSON-LD. Learn more about how to use clips with How-to structured data.

Here's an example of a video gallery page with JSON-LD ItemList markup.

Here's an example of a video gallery page with microdata ItemList markup.

Structured data type definitions

VideoObject

The full definition of VideoObject is available at schema.org/VideoObject. If you do not include the required properties, Google may not be able to extract any information about the video. You can also include the recommended properties to add more information about your content, which could provide a better user experience.

Required properties
description

Text

The description of the video.

name

Text

The title of the video

thumbnailUrl

Repeated ImageObject or URL

A URL pointing to the video thumbnail image file.

Additional image guidelines:

  • Every page must contain at least one image (whether or not you include markup). Google will pick the best image to display in Search results based on the aspect ratio and resolution.
  • Image URLs must be crawlable and indexable.
  • Images must represent the marked up content.
  • Images must be in .jpg, .png, or. gif format.
  • For best results, provide multiple high-resolution images (minimum of 50K pixels when multiplying width and height) with the following aspect ratios: 16x9, 4x3, and 1x1.

For example:

"image": [
  "https://example.com/photos/1x1/photo.jpg",
  "https://example.com/photos/4x3/photo.jpg",
  "https://example.com/photos/16x9/photo.jpg"
]
uploadDate

Date

The date the video was first published, in ISO 8601 format.

Recommended properties
contentUrl

URL

A URL pointing to the actual video media file.

Make sure to follow our Video best practices.

duration

Duration

The duration of the video in ISO 8601 format.

embedUrl

URL

A URL pointing to a player for the specific video. Usually this is the information in the src element of an <embed> tag.

Make sure to follow our Video best practices.

expires

Text

If applicable, the date after which the video will no longer be available, in ISO 8601 format. Don't supply this information if your video does not expire.

hasPart

CreativeWork

A video clip that is part of the entire video. To add clips to steps in a how-to page, see How-to structured data.

hasPart.endOffset

Number

The end time of the clip expressed as the number of seconds from the beginning of the video.

hasPart.name

Text

The name of the clip. For example, "Pull and tighten" could be the name of the clip that shows how to pull and tighten a tie.

hasPart.startOffset

Number

The start time of the clip expressed as the number of seconds from the beginning of the video.

hasPart.url

URL

A link to the start time of the clip. The start time must match the value set in hasPart.startOffset. For example:

"startOffset": 30,
"endOffset": 45,
"url": "http://www.example.com/example&t=30"
interactionCount

Text

The number of times the video has been viewed.

ItemList

The full definition of ItemList is available at schema.org/ItemList.

In addition to VideoObject properties, add the following properties for host-specific lists. While ItemList isn't required, it can help Google identify content that is appropriate for host carousels. For more information about host-specific lists, see Carousel.

Required properties
itemListElement

ListItem

Annotation for a single item page. Each ListItem element should include VideoObject properties as well as ListItem properties.

ListItem.position

Integer

Ordinal position of the item page in the list. For example:

"itemListElement": [
  {
    "@type": "VideoObject",
    "position": 1,
    ... other VideoObject properties ...
  }, {
    "@type": "VideoObject",
    "position": 2,
    ... other VideoObject properties ...
  }
]
ListItem.url

URL

The canonical URL of the item page. Every item should have a unique URL.

Feedback verzenden over...