Video Platform Restrictions

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.

The <video:platform> tag should contain a list of space-delimited platform codes. Valid platform codes are described below.

Platform code Description
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.

The required 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.

       <video:title>Grilling steaks for summer</video:title>
       <video:description>Alkis shows you how to get perfectly done steaks every            
       <video:player_loc autoplay="ap=1"></video:player_loc>
       <video:platform relationship="allow">WEB TV</video:restriction> 

You can find out more about video sitemaps and the <video:platform> tag in the video sitemaps article.