What Is a Video Sitemap For? Required Tags and When to Use Optional Ones

ProcrustesPR

According to the supplied Google documentation, a video sitemap helps Google find and understand videos on a website, especially newly added content or content that is difficult to discover through normal crawling. Required information includes a thumbnail, title, description, and a video file or player URL. Optional tags provide details such as duration, expiration date, and restrictions on visibility in search results. The key is to ensure that the information matches the video content and that Googlebot can access the referenced files.

ProcrustesPRProcrustesPRHow Long Does It Take to Evaluate SEO Results?

Check that videos are suitable for the sitemap and accessible

You can create a separate video sitemap, use mRSS, or add video tags to an existing sitemap. General sitemap best practices also apply. However, do not include videos that are unrelated to the page’s main content or provide only a minor supplement to it.

Referenced files must not be blocked by robots.txt, firewalls, or similar mechanisms. Googlebot must be able to access them directly, without logging in or going through intermediary files. If you want to restrict access by others, the documentation recommends verifying Googlebot’s identity while continuing to allow it to crawl the files.

Provide the required information for each video

Enclose information about a single video in video:video, and use the parent loc to specify the page where the video appears. If a page contains multiple videos, you can include multiple video:video elements. Unless otherwise stated, each tag can be used only once per video.

  • video:thumbnail_loc: Provide the URL of the video’s thumbnail image file.
  • video:title: Provide a title, preferably matching the video title displayed on the page.
  • video:description: The description can contain up to 2,048 half-width characters and must match the description displayed on the page, though it need not be identical word for word.

If the title or description contains HTML, it must be escaped or enclosed in a CDATA block, rather than inserted directly as XML markup.

Should you use a video file URL or a player URL?

You must provide at least one of video:content_loc or video:player_loc. The documentation recommends using content_loc whenever possible because it is the most effective way for Google to fetch the video file. Use player_loc if you cannot provide content_loc.

  • content_loc must point to an actual media file in a supported format, not HTML or Flash.
  • player_loc points to the player for a specific video. For platforms that allow iframe embedding, such as YouTube and Vimeo, use this field instead of content_loc.
  • Neither URL may be the same as the page URL in the parent loc.

Use optional tags when they apply to the video

Use video:duration for the video’s length in seconds, from 1 to 28,800. Use video:rating for its rating, expressed as a floating-point number from 0.0 to 5.0. You can also provide the view count and original publication date.

Include video:expiration_date only if the video has an expiration date. Google Search will no longer display the video after that date. Omit the tag if there is no expiration date. For videos updated periodically at the same URL, update the expiration date.

Use video:restriction for geographic restrictions and video:platform for platform restrictions. For either tag, set the relationship attribute to allow or deny, then list the permitted or excluded regions or platforms. For example, setting a geographic restriction to allow with CA MX means the video may appear in search results only in Canada and Mexico.

These tags affect search results only; they do not block playback. If you omit the geographic restriction, the video is assumed to be eligible for display in search results in all regions. If you omit the platform restriction, it is assumed to be playable on all platforms.

ProcrustesPRProcrustesPRWhere should I start if I want to do SEO myself?

Video sitemap FAQs

How can you indicate that a video requires a subscription or is a live stream?

Use the optional video:requires_subscription tag to indicate whether viewing requires a subscription, whether paid or free, by entering yes or no. You can also use yes or no in video:live to indicate whether the video is a live stream. This information helps Google better understand the video’s attributes; it is not required for every video.

How can you add uploader information and video topic tags?

Use video:uploader to provide the uploader’s name, up to 255 half-width characters. The optional info URL must be on the same domain as the loc page. You can also use multiple video:tag entries to describe the main concepts of the video or parts of its content, with a maximum of 32 tags per video. This is an exception to the general rule that each tag can be used only once per video.

Can you indicate whether a video is suitable for SafeSearch?

You can use the optional video:family_friendly tag. According to the supplied documentation, if it is omitted or set to yes, users with SafeSearch enabled can still find the video in search. If it is set to no, the video can be found only when SafeSearch is turned off. Choose the value based on the video’s content, and do not treat this tag as a general geographic or platform restriction.

Which older tags are no longer documented for use?

The supplied Google documentation states that video:category, video:gallery_loc, video:price, and video:tvshow, along with player attributes such as autoplay and allow_embed, have been removed from the documentation. If existing data still uses these items, note that they are no longer included in that document’s tag descriptions.

Where can you check for video sitemap errors?

Use Google Search Console to identify sitemap errors. If the issue involves file access, also check the protocols used by the referenced URLs: the supplied documentation lists HTTP and FTP as supported, but not streaming protocols. The files must still meet the requirements for access by Googlebot.

ProcrustesPRShould I rewrite or update an old article that does not rank?

References

  1. 影片 Sitemap 和範例 | Google 搜尋中心  |  Documentation  |  Google for Developersdevelopers.google.com — Discusses: How can you indicate that a video requires a subscription or is a live stream?; How can you add uploader information and video topic tags?

Related articles

How Long Does It Take to Evaluate SEO Results?Where should I start if I want to do SEO myself?Should I rewrite or update an old article that does not rank?What should I check when organic traffic suddenly drops?Why can I not find my published article on Google?Will Reposting Social Content on My Website Cause a Duplicate-Content Penalty?Eight SEO essentials for beginners: Getting your pages indexedWhat Is SEO? Understanding Optimization Priorities Through How Search Engines Work
ProcrustesPR
ProcrustesPR