The Video Sitemap module. Provides possibility to create video sitemap.
More information on video sitemaps can be found at
https://developers.google.com/webmasters/videosearch/sitemaps

Drupal 7 version

It is currently limited to videos uploaded only to nodes. Videos added to blocks or other entity types are not indexed.

Configuration
Configuration page link is /admin/config/search/video-sitemap.
1) Set minimum lifetime of sitemap used on cron. "No minimum" equals to rebuild on every cron.
2) You can exclude file mimetype from indexing in case if some types are not
available through http, as required by Google, or simply if you don't need it to be
in the sitemap.

Use
1) Open /admin/config/search/video-sitemap/rebuild
2) Rebuild video sitemap.
3) Video sitemap will be available at /sitemap-video.xml

Drupal 8 version

Provides possibility to create video sitemap based on videos added as Media entities.
Configuration
Visit /admin/config/search/video_sitemap to add video sitemap configuration.
Required configurations:
* Media bundle
* Video Description field (from Media bundle)
* Video location plugin

Video location plugin
Video location plugin defines the source of video and thumbnail URIs added
to the sitemap and depends on source field used on media bundle used for video.
By default the module provides Video File plugin (for videos stored locally).
There is a submodule 'Video Sitemap video_embed_field provider integration'
which provides a location plugin for Videos embedded using video_embed_field module.
You may need to create a custom plugin depending on video source used on Media video bundle.

Project information

Releases