SEO (Search Engine Optimization)
Video Sitemaps
A video sitemap is a type of XML sitemap that provides information about video content on a website. Video sitemaps are used to help search engines discover and index video content, making it more discoverable and increasing its visibility in search results.
Here is an example of a simple video sitemap:
<?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/video1.html</loc>
<lastmod>2022-12-31</lastmod>
<video:video>
<video:thumbnail_loc>https://example.com/video1-thumbnail.jpg</video:thumbnail_loc>
<video:title>Video 1 Title</video:title>
<video:description>Video 1 Description</video:description>
<video:content_loc>https://example.com/video1.mp4</video:content_loc>
<video:player_loc allow_embed="yes" autoplay="ap=1">https://example.com/video1-player.html</video:player_loc>
<video:duration>600</video:duration>
</video:video>
</url>
<url>
<loc>https://example.com/video2.html</loc>
<lastmod>2022-12-30</lastmod>
<video:video>
<video:thumbnail_loc>https://example.com/video2-thumbnail.jpg</video:thumbnail_loc>
<video:title>Video 2 Title</video:title>
<video:description>Video 2 Description</video:description>
<video:content_loc>https://example.com/video2.mp4</video:content_loc>
<video:player_loc allow_embed="yes" autoplay="ap=1">https://example.com/video2-player.html</video:player_loc>
<video:duration>420</video:duration>
</video:video>
</url>
</urlset>
In this example, the video sitemap contains two URLs, each representing a page on the website that contains video content. The <video:video>
element is used to provide information about each video, including the title, description, thumbnail, content location, player location, and duration.
By including a video sitemap, you can help search engines discover and index your video content, making it more discoverable and increasing its visibility in search results. This can lead to increased traffic and engagement for your website, especially for sites with a significant amount of video content.