What is YouTube video schema markup?
TL;DR
Video schema markup (VideoObject structured data) is code you add to web pages that embed YouTube videos, helping Google understand the video content for rich snippet display. When implemented correctly, your embedded YouTube videos can show thumbnails, duration, and upload dates directly in Google search results. YouTube handles schema automatically for youtube.com pages, but embedding videos on your own site requires manual markup. BrightBean’s structured API responses can power automated schema markup generation for embedded YouTube content.
What is YouTube video schema markup?
Schema markup is structured data vocabulary (from schema.org) that helps search engines understand the content on a web page. VideoObject schema specifically describes video content: its title, description, duration, thumbnail URL, upload date, and more. When Google encounters valid VideoObject markup, it can display rich snippets that make your search result significantly more prominent and clickable.
What YouTube handles automatically. If your video lives on youtube.com, YouTube already generates the necessary structured data. YouTube pages include JSON-LD VideoObject markup with all the standard properties: name, description, thumbnailUrl, uploadDate, duration, contentUrl, and embedUrl. You don’t need to do anything special for videos hosted on YouTube to get rich snippet treatment in Google search. This built-in markup is one reason YouTube videos rank so well in Google results, since Google has complete structured data about every video.
When you need manual schema markup. The situation changes when you embed YouTube videos on your own website. If you write a blog post and embed a YouTube video, Google may not automatically associate the rich video data with your page. Adding VideoObject schema markup to your web page tells Google that a video exists on the page, what it’s about, and where to find the thumbnail and duration information. This dramatically increases the likelihood of your page appearing in Google’s video carousel or earning a video thumbnail in standard search results.
How to implement VideoObject schema. The recommended format is JSON-LD, placed in a <script> tag in your page’s <head> or <body>. The minimum required properties are: name, description, thumbnailUrl, uploadDate, and contentUrl or embedUrl. Google also recommends including duration (in ISO 8601 format), interactionStatistic (view count), and expires (if applicable). For a YouTube embed, you can pull most of this data programmatically from the YouTube Data API or from BrightBean’s endpoints.
Impact on search visibility. Pages with valid VideoObject schema markup are eligible for Google’s video carousel, video rich snippets (showing a thumbnail next to the search result), and the dedicated Google Video search tab. In competitive niches, the visual prominence of a video thumbnail in search results can increase CTR by 30% or more compared to plain text results. For content creators who publish both videos and blog posts, combining YouTube content with proper schema markup on their website creates a dual-ranking advantage.
How BrightBean helps
BrightBean’s API returns structured video data that maps directly to VideoObject schema properties. Instead of making multiple YouTube API calls and formatting the data yourself, you can use BrightBean’s response to generate schema markup automatically for any embedded YouTube video.
GET /search?query=how+to+brew+cold+brew&max_results=1&include_schema_data=true
{
"results": [
{
"video_id": "abc123",
"title": "Cold Brew Coffee: The Complete Guide",
"description": "Learn how to make perfect cold brew coffee at home...",
"thumbnail_url": "https://i.ytimg.com/vi/abc123/maxresdefault.jpg",
"upload_date": "2026-02-15T10:00:00Z",
"duration_iso": "PT12M34S",
"view_count": 245000,
"embed_url": "https://www.youtube.com/embed/abc123",
"schema_ready": {
"@context": "https://schema.org",
"@type": "VideoObject",
"name": "Cold Brew Coffee: The Complete Guide",
"description": "Learn how to make perfect cold brew coffee at home...",
"thumbnailUrl": "https://i.ytimg.com/vi/abc123/maxresdefault.jpg",
"uploadDate": "2026-02-15T10:00:00Z",
"duration": "PT12M34S",
"embedUrl": "https://www.youtube.com/embed/abc123",
"interactionStatistic": {
"@type": "InteractionCounter",
"interactionType": "WatchAction",
"userInteractionCount": 245000
}
}
}
]
}
Key takeaways
- VideoObject schema markup helps Google display rich snippets with thumbnails, duration, and dates for your video content
- YouTube automatically generates schema for youtube.com pages, but embedded videos on your own site need manual markup
- JSON-LD is the recommended format, requiring name, description, thumbnailUrl, uploadDate, and embedUrl at minimum
- Pages with video schema markup are eligible for Google’s video carousel and video rich snippets, which can significantly boost CTR
- Combining YouTube videos with schema-marked blog content creates a dual-ranking advantage across search surfaces
Related questions
Get structured YouTube intelligence
BrightBean delivers content gaps, title scores, thumbnail analysis, and hook classification via API and MCP server.
Get early access →