Panduan Video Sitemap

What sebuah video sitemap adalah dan when Anda perlu one — diperlukan dan optional video:video tags, limits, accepted media dan thumbnail file jenis, multiple videos per halaman, dan mRSS alternative.

Pertama kali diterbitkan: 22 Jun 2026 · Terakhir diperbarui: 3 Agu 2026 · Advanced
Bahasa
1 sinyal bukti di halaman ini

sebuah video sitemap adalah sebuah sitemap XML itu menggunakan Google's video:video extension untuk tell Google tentang videos pada Anda halaman, terutama newly ditambahkan atau otherwise hard-untuk-menemukan ones. setiap video perlu four diperlukan pieces dari metadata — sebuah thumbnail (video:thumbnail_loc), sebuah judul (video:judul), sebuah deskripsi (video:deskripsi), dan setidaknya one dari video:content_loc ( media file) atau video:player_loc ( player) — dan neither content_loc nor player_loc dapat menjadi yang sama URL sebagai halaman's own loc. namespace adalah http://www.google.com/schemas/sitemap-video/1.1, repeated video:tag element caps di 32 per video (itu's not sebuah limit pada total metadata fields), duration runs 1–28 800 seconds, dan deskripsi caps di 2 048 characters. setiap referenced URL — halaman, thumbnail, media file — harus menjadi dapat di-crawl: no robots.txt block, no login wall, dan content_loc dapat't menjadi sebuah streaming-hanya protocol. gunakan saat ini Google file-jenis list ( old.flv/.ra enumeration adalah stale), dan don't panic di atas tags Google deprecated di 2022 — mereka're safe untuk leave. mRSS adalah sebuah accepted alternative. Bing melakukan not document video-sitemap mendukung.

TL;DR — sebuah video sitemap adalah sebuah sitemap XML menggunakan video:video extension (namespace http://www.google.com/schemas/sitemap-video/1.1), sebagian besar berguna untuk videos itu adalah newly ditambahkan atau otherwise hard untuk menemukan. diperlukan per video: <video:thumbnail_loc>, <video:title>, <video:description>, plus setidaknya one dari <video:content_loc> ( media file) atau <video:player_loc> ( player) — neither dapat menjadi yang sama URL sebagai halaman’s own <loc>. Optional tags refine ini di dalam limits — repeated <video:tag> element caps di 32 per video (not sebuah total-tag-count limit), duration 1–28 800 s, deskripsi ≤2 048 chars. Anda dapat nest multiple <video:video> blocks di bawah one <loc> untuk sebuah halaman dengan several videos. setiap referenced URL harus menjadi dapat di-crawl (not robots-blocked, no login wall), dan content_loc dapat’t menjadi sebuah streaming-hanya protocol. gunakan Google’s saat ini content_loc dan thumbnail file-jenis lists; tags Google deprecated di 2022 adalah safe untuk leave di place. mRSS adalah sebuah accepted alternative. Bing melakukan not document video-sitemap mendukung.

Evidence for this claim A video sitemap supplies Google with video metadata, particularly for videos that are difficult to discover by normal crawling. Scope: Current Google video sitemap guidance. Confidence: high · Verified: Google Search Central: Video sitemaps Evidence for this claim Video sitemap entries require thumbnail URL, title, description, and either content URL or player URL; optional fields have documented constraints. Scope: Current Google video sitemap reference. Confidence: high · Verified: Google Search Central: Video sitemap reference

What sebuah video sitemap actually adalah

sebuah video sitemap adalah sebuah normal sitemap XML dengan Google’s video extension switched pada. Anda tambahkan video namespace untuk Anda <urlset>http://www.google.com/schemas/sitemap-video/1.1 — dan lalu, inside setiap <url> block, Anda describe videos pada itu halaman dengan <video:video> tags. <loc> poin di halaman video sits pada (-nya landing halaman atau watch halaman), not di video file; file lives inside <video:content_loc>.

Anda tidak memiliki untuk maintain sebuah separate file. Anda dapat tambahkan video:video blocks untuk sebuah existing sitemap XML right alongside (atau di yang sama cara sebagai) Anda halaman URLs — yang sama cara image tags get folded ke sebuah regular sitemap. dan there’s sebuah non-XML option: Google juga accepts sebuah mRSS (Media RSS) feed sebagai sebuah cara untuk menyediakan yang sama video informasi.

When Anda perlu one

sebuah video sitemap adalah explicit cara untuk tell Google what videos Anda memiliki dan cara present them. Google’s own framing adalah narrower daripada “use this for every video” (terjemahan) “gunakan ini untuk setiap video”: ini panggilan out newly ditambahkan videos dan otherwise hard-untuk-menemukan konten sebagai where extension earns -nya pertahankan — misalnya, videos itu adalah lazy-dimuat, JavaScript-injected, atau behind sebuah custom player, atau where Anda ingin full control di atas judul, deskripsi, dan thumbnail Google associates dengan setiap video alih-alih letting ini infer itu. sebagai dengan setiap sitemap, ini adalah sebuah penemuan aid — ini helps Google temukan dan memahami Anda videos, tetapi ini tidak pernah guarantees sebuah video adalah terindeks atau surfaced.

diperlukan tags

setiap video perlu sebuah parent <video:video> block dan, inside ini, four diperlukan pieces dari metadata:

  • <video:video> — parent element wrapping semua informasi tentang sebuah single video.
  • <video:thumbnail_loc>“A URL pointing to the video thumbnail image file.” (terjemahan) “sebuah URL pointing untuk video thumbnail image file.”
  • <video:title>“The title of the video. All HTML entities must be escaped or wrapped in a CDATA block.” (terjemahan) “ judul dari video. semua HTML entities harus menjadi escaped atau wrapped di sebuah CDATA block.”
  • <video:description> — deskripsi dari video (≤2 048 characters).
  • setidaknya one dari:
  • <video:content_loc>“A URL pointing to the actual video media file.” (terjemahan) “sebuah URL pointing untuk actual video media file.” ini adalah one Google recommends when Anda dapat supply ini.
  • <video:player_loc> — sebuah URL untuk sebuah player itu embeds/plays video.

jika Anda dapat give both content_loc dan player_loc, melakukan — tetapi one adalah enough untuk menjadi valid. One constraint applies untuk both: neither content_loc nor player_loc dapat menjadi yang sama URL sebagai halaman’s own <loc>. Google documents ini requirement separately untuk setiap tag — ini adalah not optional, dan ini trips up sitemaps itu reuse landing-halaman URL sebagai sebuah placeholder media/player tautan.

Beyond diperlukan set, Anda dapat refine setiap video dengan optional tags: <video:duration>, <video:expiration_date>, <video:rating>, <video:view_count>, <video:publication_date>, <video:family_friendly>, <video:restriction>, <video:platform>, <video:requires_subscription>, <video:uploader>, <video:live>, dan <video:tag>. mereka help Google memahami freshness, eligibility, dan context — misalnya, expiration_date tells Google when untuk stop showing sebuah video, dan live flags sebuah live stream.

Three limits untuk respect:

  • <video:tag> caps di 32 per video. ini adalah sebuah limit pada repeated keyword-tag element specifically (buat one <video:tag> per keyword, up untuk
  1. — ini adalah not sebuah cap pada total angka dari metadata fields sebuah <video:video> block dapat carry. sebuah video dengan four diperlukan tags plus several optional ones (duration, rating, publication date, dan so pada) adalah fine; hanya count dari <video:tag> elements adalah bounded di 32.
  • <video:duration> harus menjadi 1–28 800 seconds (itu’s sebuah hard ceiling dari 8 hours).
  • <video:description> ≤2 048 characters.

Multiple videos pada one halaman

jika sebuah single halaman hosts more daripada one video, Anda tidak buat multiple <url> entries — Anda pertahankan one <loc> untuk halaman dan nest multiple <video:video> blocks inside itu sama <url>. setiap <video:video> describes one video, dengan -nya own thumbnail, judul, deskripsi, dan konten/player tautan.

Accessibility: everything Anda reference harus menjadi dapat di-crawl

ini adalah aturan itu quietly breaks video sitemaps. setiap URL Anda put di file — halaman di <loc>, <video:thumbnail_loc>, dan <video:content_loc>/<video:player_loc> — memiliki untuk menjadi fetchable oleh Google:

  • Not blocked di robots.txt. jika thumbnail directory atau media file adalah disallowed, Google dapat’t gunakan ini.
  • Not behind sebuah login wall atau apa pun access gate.
  • content_loc harus menjadi sebuah directly fetchable filestreaming-hanya protocols adalah not didukung. jika Anda video adalah hanya available di atas sebuah streaming protocol alih-alih sebagai sebuah file Google dapat download, poin Google di player dengan player_loc instead, atau menyediakan sebuah fetchable media file untuk content_loc.

Accepted file jenis

gunakan Google’s saat ini lists here — older enumeration itu disertakan formats like .flv dan .ra/.ram adalah stale, dan sebuah lot dari ketiga-party guides masih quote ini.

<video:content_loc> media files — Google’s didukung video formats adalah: 3GP, 3G2, ASF, AVI, DivX, M2V, M3U, M3U8, M4V, MKV, MOV, MP4, MPEG, OGV, QVT, RAM, RM, VOB, WebM, WMV, XAP. file di itu URL seharusnya menjadi one dari ini dan directly fetchable.

<video:thumbnail_loc> thumbnails — didukung image formats adalah BMP, GIF, JPEG, PNG, WebP, SVG, dan AVIF. thumbnail harus menjadi setidaknya 60×30 pixels (larger adalah preferred) dan sit di sebuah stable, dapat di-crawl URL — don’t poin ini di sebuah URL itu rotates atau expires.

Deprecated tags (safe untuk leave)

Google announced ini deprecation pada dapat 6, 2022, effective August 6, 2022: <video:category>, allow_embed dan autoplay attributes pada <video:player_loc>, <video:gallery_loc>, <video:price>, dan <video:tvshow>. Anda tidak perlu untuk rush untuk strip ini out. Per Google’s announcement, ini tags “will have no effect on indexing and search features” (terjemahan) “akan memiliki no effect pada pengindeksan dan search fitur” dan there’s “no immediate action required” (terjemahan) “no immediate tindakan diperlukan” — Anda dapat leave them di place without drawbacks. hapus them pada Anda own schedule, atau not di semua.

How ini fits rest dari sitemap family

sebuah video sitemap adalah one extension among several. sitemap XML adalah base format; sitemap gambar adalah parallel untuk images; sebuah sitemap indeks ties multiple sitemap files together setelah Anda cross 50 000-URL / 50MB-per-file limit; dan sitemaps overview covers when Anda perlu apa pun dari ini di semua dan cara submit ini. Video tags dapat live di mereka own file atau menjadi combined ke sebuah regular sitemap. untuk bigger picture dari how mesin temukan Anda URLs di pertama place, see penemuan.

One scope note: ini adalah Google’s extension. Bing melakukan not document video-sitemap mendukung — ini defers untuk base sitemaps.org protocol — so treat video:video sebagai sebuah Google fitur dan don’t expect Bing untuk act pada ini.

Add an expert note

Pin an expert quote

New person? Create their unclaimed profile at /admin/experts/ → Pin a quote first.