Video sitemaps allows you to indicate what platforms a video is allowed to be shown on. Platforms include computer browsers, mobile device browsers, and television browsers. If your video does not have any platform restrictions, you should omit the platform restriction tag. There is no platform restriction tag for mRSS feeds.
In video sitemaps, the
<video:platform> tag can be used to allow or
deny the video from appearing in specific countries. Only one
<video:platform> tag is allowed per video entry.
<video:platform> tag should contain a list of space-delimited
platform codes. Valid platform codes are described below.
|WEB||Traditional computer browsers on desktops and laptops.|
|MOBILE||Mobile browsers, such as those on cellular phones or tablets.|
|TV||TV browsers, such as those available through GoogleTV devices and game consoles.|
relationship attribute specifies the type of restriction.
relationship="allow"- The video will appear only on the specified platforms. If no platforms are specified, the video will not appear on any device.
relationship="deny"- The video will appear on all devices except for the specified platforms. If no platforms are specified, the video will appear on all devices.
In this video sitemap example, this video will only appear on desktop and mobile browsers.
<url> <loc>http://www.example.com/videos/some_video_landing_page.html</loc> <video:video> <video:thumbnail_loc>http://www.example.com/thumbs/123.jpg</video:thumbnail_loc> <video:title>Grilling steaks for summer</video:title> <video:description>Alkis shows you how to get perfectly done steaks every time</video:description> <video:player_loc autoplay="ap=1"> http://www.example.com/videoplayer.swf?video=123</video:player_loc> <video:platform relationship="allow">WEB TV</video:restriction> </video:video> </url>
You can find out more about video sitemaps and the
tag in the video sitemaps article.