video-optimization
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseSEO On-Page: Video Optimization
SEO On-Page: 视频优化
Guides video optimization for Google Search (main results, video mode, Google Images, Discover), video sitemap, VideoObject schema, and indexing. Note: Google now prioritizes YouTube video results in search; YouTube + Reddit comprise ~78% of social media citations in AI Overviews. For YouTube-specific optimization, see youtube-seo; for GEO distribution via YouTube, see generative-engine-optimization. References: Google Video SEO, Semrush YouTube SEO.
When invoking: On first use, if helpful, open with 1–2 sentences on what this skill covers and why it matters, then provide the main output. On subsequent use or when the user asks to skip, go directly to the main output.
本指南涵盖针对Google Search(主搜索结果、视频模式、谷歌图片、Discover)的视频优化、video sitemap、VideoObject schema以及索引相关内容。注意:谷歌目前在搜索结果中优先展示YouTube视频结果;在AI Overview的社交媒体引用来源中,YouTube+Reddit占比约78%。如果需要针对YouTube的专属优化,请参考 youtube-seo;如果需要通过YouTube实现GEO分发,请参考 generative-engine-optimization。参考资料:Google Video SEO、Semrush YouTube SEO。
调用规则:首次使用时如果对用户有帮助,可以先用1-2句话介绍该技能的覆盖范围和价值,再输出核心内容。后续调用或用户要求跳过介绍时,直接输出核心内容即可。
Scope
覆盖范围
- Discovery & indexing: HTML embed elements, video sitemap
- Metadata: Title, description, thumbnail; stable URLs
- Structured data: VideoObject schema
- Features: Video preview, key moments (Clip, SeekToAction), LIVE badge
- YouTube prioritization: Google favors YouTube in search; embed or host on YouTube for GEO citation
- 发现与索引:HTML嵌入元素、video sitemap
- 元数据:标题、描述、缩略图;稳定URL
- 结构化数据:VideoObject schema
- 功能特性:视频预览、关键节点(Clip、SeekToAction)、直播标识
- YouTube优先级:谷歌搜索中优先展示YouTube内容;可将视频嵌入站点或托管在YouTube获取GEO引用
YouTube in Google Search (2025+)
Google搜索中的YouTube(2025年及以后)
Google prioritizes YouTube video results across search. YouTube receives 48.6B monthly visits (second to Google.com) and is treated as core search infrastructure for AI-driven discovery. Search Engine Land
| Context | Implication |
|---|---|
| AI Overviews | YouTube citations surged 25.21% since Jan 2025; instructional (+35.6%), visual demos (+32.5%); long-form dominates (94%) |
| GEO | YouTube + Reddit = ~78% of social media citations; Perplexity (38.7%) and Google AI Overviews (36.6%) drive most YouTube citations |
| Strategy | Embed YouTube on site pages for dual indexing; or host on YouTube for GEO citation. See youtube-seo, generative-engine-optimization |
谷歌在全搜索场景下优先展示YouTube视频结果。YouTube月访问量达486亿,仅次于Google.com,被视为AI驱动内容发现的核心搜索基础设施。来源:Search Engine Land
| 场景 | 影响 |
|---|---|
| AI Overview | 2025年1月以来YouTube引用量飙升25.21%;教学类(+35.6%)、可视化演示类(+32.5%)内容占比最高;长视频占主导(94%) |
| GEO | YouTube+Reddit占社交媒体引用的~78%;Perplexity(38.7%)和谷歌AI Overview(36.6%)是YouTube引用的主要来源 |
| 策略 | 将YouTube视频嵌入站点页面实现双重索引;或托管在YouTube获取GEO引用。参考 youtube-seo、generative-engine-optimization |
Initial Assessment
初始评估
Check for project context first: If or exists, read it for brand and page context.
.claude/project-context.md.cursor/project-context.mdIdentify:
- Hosting: Self-hosted vs YouTube/Vimeo embed
- Page type: Dedicated watch page vs supplementary (e.g. blog with embedded video)
- Features needed: Preview, key moments, LIVE badge
优先确认项目上下文:如果存在或,先读取文件获取品牌和页面上下文。
.claude/project-context.md.cursor/project-context.md明确以下信息:
- 托管方式:自主托管 vs 嵌入YouTube/Vimeo视频
- 页面类型:专属播放页 vs 辅助展示页(比如嵌入视频的博客)
- 所需功能:预览、关键节点、直播标识
1. Discovery & Indexing
1. 发现与索引
Use Standard HTML Embed Elements
使用标准HTML嵌入元素
Google finds videos in , , , or . Do not use fragment identifiers to load video; avoid requiring user interaction (click, swipe) to load.
<video><embed><iframe><object>| Do | Don't |
|---|---|
| Fragment-only load; JS-injected without fallback |
| Hide video behind paywall without paywall structured data |
JavaScript injection: If video is injected via JS, ensure it appears in rendered HTML; use URL Inspection in Search Console. If using Media Source API, inject HTML video container even when API fails so Google can find metadata.
谷歌可以通过、、或标签识别视频。不要使用片段标识符加载视频;避免需要用户交互(点击、滑动)才能加载视频的设计。
<video><embed><iframe><object>| 推荐做法 | 不推荐做法 |
|---|---|
| 仅用片段加载;JS注入视频无降级方案 |
| 视频置于付费墙后但未添加付费墙结构化数据 |
JS注入场景:如果视频通过JS注入,要确保它在渲染后的HTML中存在;可使用Search Console的URL检查工具验证。如果使用Media Source API,即使API调用失败也要注入HTML视频容器,确保谷歌能识别元数据。
Video Sitemap
Video Sitemap
Submit a video sitemap to help Google discover videos. Use extension; = watch page URL.
<video:video><loc>Structure (from Google):
xml
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
<url>
<loc>https://example.com/videos/watch-page.html</loc>
<video:video>
<video:thumbnail_loc>https://example.com/thumbs/123.jpg</video:thumbnail_loc>
<video:title>Grilling steaks for summer</video:title>
<video:description>Bob shows you how to grill steaks perfectly.</video:description>
<video:player_loc>https://example.com/player?video=123</video:player_loc>
</video:video>
</url>
</urlset>See xml-sitemap for sitemap index. Video sitemap is an extension; can be standalone or combined.
结构示例(来自谷歌官方文档):
xml
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
<url>
<loc>https://example.com/videos/watch-page.html</loc>
<video:video>
<video:thumbnail_loc>https://example.com/thumbs/123.jpg</video:thumbnail_loc>
<video:title>Grilling steaks for summer</video:title>
<video:description>Bob shows you how to grill steaks perfectly.</video:description>
<video:player_loc>https://example.com/player?video=123</video:player_loc>
</video:video>
</url>
</urlset>站点地图索引相关内容参考 xml-sitemap。Video sitemap是扩展功能,可以单独提交也可以和普通站点地图合并。
Indexing Requirements
索引要求
- Watch page must be indexed and perform well in search
- Video embedded on watch page; not hidden behind elements
- Thumbnail: Valid, stable URL; ≥60×30 px; ≥80% alpha >250 (no heavy transparency)
- Supported formats: 3GP, 3G2, ASF, AVI, DivX, M2V, M3U, M3U8, M4V, MKV, MOV, MP4, MPEG, OGV, WebM, WMV, etc. Data URLs not supported.
- 播放页必须被索引且搜索表现良好
- 视频嵌入在播放页中;没有被其他元素遮挡
- 缩略图:有效、稳定的URL;尺寸≥60×30 px;≥80%像素的alpha值>250(无大量透明区域)
- 支持格式:3GP、3G2、ASF、AVI、DivX、M2V、M3U、M3U8、M4V、MKV、MOV、MP4、MPEG、OGV、WebM、WMV等。不支持Data URL。
Dedicated Watch Page
专属播放页
For video features (main results, video mode, key moments, LIVE badge), create a dedicated watch page per video—page whose primary purpose is to display that video. Examples: video landing page, episode player page, news video page. Not watch pages: blog with embedded video, product page with 360° video, category page with multiple videos.
要获取视频相关特性(主搜索结果展示、视频模式入口、关键节点、直播标识),需要为每个视频创建专属播放页——页面的核心目的就是展示该视频。示例:视频落地页、剧集播放页、新闻视频页。不属于专属播放页的场景:嵌入视频的博客、带360°视频的产品页、展示多个视频的分类页。
2. Stable URLs
2. 稳定URL
- Thumbnail: Stable URL; CDNs with fast-expiring URLs can prevent indexing
- Content URL: Stable for video preview and key moments; use in VideoObject
contentUrl - Player URL: Stable for /
embedUrlplayer_loc
- 缩略图:URL稳定;URL短时效的CDN会导致索引失败
- 内容URL:对视频预览和关键节点功能需要保持稳定;在VideoObject中使用字段
contentUrl - 播放器URL:对/
embedUrl需要保持稳定player_loc
3. Thumbnail & Metadata
3. 缩略图与元数据
Thumbnail Sources (in priority order)
缩略图来源(优先级从高到低)
| Source | How |
|---|---|
| |
| Video sitemap | |
| VideoObject | |
| OGP | |
Use same thumbnail URL across all metadata sources.
| 来源 | 实现方式 |
|---|---|
| |
| Video sitemap | |
| VideoObject | |
| OGP | |
所有元数据源中使用相同的缩略图URL。
Thumbnail Specs
缩略图规范
| Spec | Requirement |
|---|---|
| Formats | BMP, GIF, JPEG, PNG, WebP, SVG, AVIF |
| Size | Min 60×30 px; larger preferred |
| Transparency | ≥80% of pixels with alpha >250 |
| Access | Must be crawlable (no robots.txt block, no login) |
| 规范 | 要求 |
|---|---|
| 格式 | BMP、GIF、JPEG、PNG、WebP、SVG、AVIF |
| 尺寸 | 最小60×30 px;优先使用更大尺寸 |
| 透明度 | ≥80%像素的alpha值>250 |
| 可访问性 | 必须可被爬虫抓取(无robots.txt拦截、无需登录) |
Unique Metadata per Video
每个视频配置唯一元数据
Provide unique , , and for each video in structured data and sitemap. Consistency with visible content is required.
thumbnailUrlnamedescription在结构化数据和站点地图中为每个视频提供唯一的、和。需要和页面可见内容保持一致。
thumbnailUrlnamedescription4. VideoObject Schema
4. VideoObject Schema
json
{
"@context": "https://schema.org",
"@type": "VideoObject",
"name": "Grilling steaks for summer",
"description": "Bob shows you how to grill steaks perfectly every time.",
"thumbnailUrl": "https://example.com/thumbs/123.jpg",
"uploadDate": "2025-01-15T08:00:00Z",
"contentUrl": "https://example.com/video/123.mp4",
"embedUrl": "https://example.com/player?video=123"
}Required for rich results: , , . Add for video preview and key moments. See schema-markup for full VideoObject; serp-features for Video SERP feature.
thumbnailUrlnamedescriptioncontentUrljson
{
"@context": "https://schema.org",
"@type": "VideoObject",
"name": "Grilling steaks for summer",
"description": "Bob shows you how to grill steaks perfectly every time.",
"thumbnailUrl": "https://example.com/thumbs/123.jpg",
"uploadDate": "2025-01-15T08:00:00Z",
"contentUrl": "https://example.com/video/123.mp4",
"embedUrl": "https://example.com/player?video=123"
}获取富摘要的必填字段:、、。添加可实现视频预览和关键节点功能。完整VideoObject配置参考 schema-markup;视频SERP特性相关参考 serp-features。
thumbnailUrlnamedescriptioncontentUrl5. Video Features
5. 视频功能
Video Preview
视频预览
Google selects short clips as dynamic previews. Allow Google to fetch video file; use robots meta to limit duration.
max-video-preview谷歌会选取短视频片段作为动态预览。允许谷歌抓取视频文件;可通过robots元标签的限制预览时长。
max-video-previewKey Moments (Chapters)
关键节点(章节)
| Method | Use |
|---|---|
| Clip | Exact start/end + label per segment; all languages |
| SeekToAction | Tell Google where timestamps live in URL; auto-detect; supported languages: en, es, pt, it, zh, fr, ja, de, tr, ko, nl, ru |
| YouTube | Timestamps in description; see youtube-seo |
Disable key moments: meta.
nosnippet| 实现方式 | 适用场景 |
|---|---|
| Clip | 每个片段配置精确的起止时间和标签;支持所有语言 |
| SeekToAction | 告知谷歌URL中的时间戳位置;自动识别;支持语言:英文、西班牙文、葡萄牙文、意大利文、中文、法文、日文、德文、土耳其文、韩文、荷兰文、俄文 |
| YouTube | 描述中添加时间戳;参考 youtube-seo |
关闭关键节点功能:配置元标签。
nosnippetLIVE Badge
直播标识
Use schema for live streams to show "LIVE" in results.
BroadcastEvent针对直播流使用 schema即可在搜索结果中展示“LIVE”标识。
BroadcastEvent6. Allow Google to Fetch Video File
6. 允许谷歌抓取视频文件
For video preview and key moments, Google must fetch the actual video bytes. Do not block with noindex or robots.txt. Use stable URLs; ensure both watch page host and video/CDN host have sufficient capacity for crawling.
contentUrl要实现视频预览和关键节点功能,谷歌必须能够抓取视频文件本身。不要用noindex或robots.txt拦截。使用稳定URL;确保播放页主机和视频/CDN主机有足够的爬虫访问容量。
contentUrl7. Third-Party Embeds (YouTube, Vimeo)
7. 第三方嵌入视频(YouTube、Vimeo)
Google may index both your page and the platform's page. For your watch page: still add VideoObject and optionally video sitemap. For more features (preview, key moments), confirm the platform allows Google to fetch video files.
谷歌可能同时索引你的页面和平台的对应页面。针对你的播放页:仍需添加VideoObject,可选择提交video sitemap。要获取更多功能(预览、关键节点),需要确认平台允许谷歌抓取视频文件。
8. Removal & Restrictions
8. 移除与权限限制
- Remove: 404 on watch page, or ; or set
noindexin schema /expiresin sitemap<video:expiration_date> - Geo-restrict: or
regionsAllowedin VideoObject;ineligibleRegionin sitemap<video:restriction>
- 移除搜索结果:播放页返回404,或配置;或在schema中设置
noindex字段 / 在sitemap中配置expires标签<video:expiration_date> - 地域限制:在VideoObject中配置或
regionsAllowed字段;在sitemap中配置ineligibleRegion标签<video:restriction>
9. SafeSearch & Monitoring
9. SafeSearch与监控
- Mark pages appropriately for SafeSearch if content is adult. See Google SafeSearch.
- Search Console: Video indexing report; Video rich results report; Performance filtered by "Video" search appearance.
- 如果内容属于成人向,需要为页面添加正确的SafeSearch标记。参考 Google SafeSearch。
- Search Console:查看视频索引报告、视频富摘要报告;按“视频”搜索展示类型过滤性能数据。
Specs by Context
不同场景的优化优先级
| Context | Priority | Notes |
|---|---|---|
| Website video | VideoObject, sitemap, thumbnail | This skill |
| YouTube | Title, description, chapters, thumbnail | See youtube-seo |
| GEO / AI citation | YouTube distribution; long-form | See generative-engine-optimization |
| Featured Snippet (video) | Video schema; timestamps | See featured-snippet |
| 场景 | 优先级 | 备注 |
|---|---|---|
| 站点自有视频 | VideoObject、sitemap、缩略图 | 即本技能覆盖范围 |
| YouTube视频 | 标题、描述、章节、缩略图 | 参考 youtube-seo |
| GEO / AI引用 | YouTube分发、长视频内容 | 参考 generative-engine-optimization |
| 精选摘要(视频类) | 视频schema、时间戳 | 参考 featured-snippet |
Related Skills
相关技能
- youtube-seo: YouTube titles, descriptions, thumbnails, chapters
- schema-markup: VideoObject, BroadcastEvent; rich results
- serp-features: Video SERP feature; rich results
- featured-snippet: Video snippet format
- xml-sitemap: Video sitemap extension
- google-search-console: Video indexing report; Video rich results
- youtube-seo:YouTube标题、描述、缩略图、章节优化
- schema-markup:VideoObject、BroadcastEvent配置;富摘要优化
- serp-features:视频SERP特性、富摘要相关
- featured-snippet:视频摘要格式优化
- xml-sitemap:视频sitemap扩展功能
- google-search-console:视频索引报告、视频富摘要相关