Course contentsShow
← Web Development
Lesson 1865 of 2,98234. Metadata and SEOFree lesson

Video and Image Object Schema

Add VideoObject and ImageObject schema to provide metadata about media content including thumbnails and durations.

Video and Image Object Schema

You'll learn how to use structured data to describe videos and images so search engines can display rich previews with thumbnails, durations, and other metadata.

What Are Video and Image Objects?

When you embed media on your website—like a product photo or tutorial video—search engines can't "see" what's in that content without your help. VideoObject and ImageObject schemas are structured data vocabularies from Schema.org that let you describe media explicitly: what it shows, how long it runs, who created it, and where the thumbnail lives.

Think of it like captioning a museum exhibit: the artwork exists, but the plaque tells visitors what they're looking at and why it matters.

Why This Matters

Without schema markup, Google might display a generic video link. With VideoObject schema, you can unlock rich results showing a thumbnail preview, duration badge ("3:42"), upload date, and even indexed timestamps for key moments. For images, ImageObject helps search engines understand licensing, captions, and creators—especially valuable for Google Images results.

Essential Properties

For VideoObject, include:

  • name: Video title
  • description: What the video covers
  • thumbnailUrl: Preview image URL
  • uploadDate: When published
  • duration: ISO 8601 format (e.g., "PT3M42S" for 3 minutes 42 seconds)
  • contentUrl: Direct video file link

For ImageObject, specify:

  • url: Full-size image location
  • width and height: Pixel dimensions
  • caption: Alt-text-like description
  • creator: Photographer or artist (Person or Organization schema)

These schemas nest inside other types (like Article or Product) using properties like video or image.

Key Takeaway: VideoObject and ImageObject schemas transform silent media files into search-engine-readable metadata, enabling rich previews and better discoverability across Google Search and Images.