Videos

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.

Examples

Example 1: Video markup for AMP, JSON-LD

Example 2: Standard video markup, JSON-LD

Type definitions

Properties
contentUrl

URL, recommended

A URL pointing to the actual video media file.

This file should be in .mpg, .mpeg, .mp4, .m4v, .mov, .wmv, .asf, .avi, .ra, .ram, .rm, .flv, or other video file format. All files must be accessible via HTTP. Metafiles that require a download of the source via streaming protocols, such as RTMP, are not supported. Providing this file allows Google to generate video thumbnails and video previews and can help Google verify your video.

description

Text, required

The description of the video

duration

Duration, recommended

The duration of the video in ISO 8601 format.

embedUrl

URL, recommended

A URL pointing to a player for the specific video. Usually this is the information in the src element of an <embed> tag. Example: Dailymotion. Tip: you can ensure that only Googlebot accesses your content by using a reverse DNS lookup.

expires

Text, recommended

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.

interactionCount

Text, recommended

The number of times the video has been viewed.

name

Text, required

The title of the video

thumbnailUrl

Repeated field of ImageObject or URL, required

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, required

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

Send feedback about...