Ways to transfer data

If you use a built-in player from a major video hosting site like YouTube, then you don't need to send additional markup to Yandex; the robot will index clips from your site and add them to Yandex.Video search results.

In all other cases you can use one of the following methods to transfer information about your videoclips:

The advantage of using XML markup instead of micro markups like Open Graph or Schema.org is that XML supports more fields and doesn't require the robot to crawl the site pages themselves. Therefore indexing goes faster and the search algorithms receive more information about the video, which is factored in when search results are determined.

How to transfer data using XML markup:

  1. Create an updatable XML file.

    The feed must meet the following requirements:

    • The XML file should use UTF-8 encoding.

    • The feed must trasfer all current data about the video.

    • The data can not contain HTML tags unless they are transferred as CDATA or special permission was granted to use them.

    • Information about changes to the video in a feed should be updated, rather than deleted and added again.

    • Each video must be described in a separate feed.

  2. Check that the feed is working.

    Make sure that the robot correctly interprets the XML feeds you create. This can be done using an XML feed validator (choose the Video validation schema).

  3. Tell the robot about marked-up clips.

    After you create XML feeds, put links to them in the Sitemap file or use Schema.org or Open Graph semantic markup.

    Post the feed address using micro markup

    In Open Graph markup, the HTML code for every page containing a video should have a link to the OGP dictionary and the XML description of the clip:

    <html prefix="ya: https://yandex.com/support/video/partners/markup.html">
    <meta property="ya:ovs:feed_url" content="https://example.com/user111/view24/view24.xml">

    In Schema.org markup, the XML feed address should include the feedUrl of the VideoObject schema in the additional field:

    <meta itemprop="feedUrl" content="https://example.com/user111/view24/view24.xml">

    The advantage of including links to XML feeds in semantic markup is that robots can re-crawl faster and more frequently than they can if they get links from Sitemap file feeds.

    Put the feed address in the Sitemap file

    Create a separate XML feed for every clip and enter the feed address in the Sitemap file in the feed field. Post the feed address using micro markup

    1. Add a link to your Yandex.Video schema in your Sitemap header.

      xmlns:ovs="https://yandex.com/support/video/partners/markup.html"
    2. Then add the ovs:video, element to every page containing a video and enter the XML description address.

      <url>
        <loc>https://example.com/111/</loc>
        <lastmod>2013-04-01T13:10:32+00:00</lastmod>
        <ovs:video> 
        <ovs:feed>https://example.com/user111/view24/view24.xml</ovs:feed>
        </ovs:video>
      </url>

    As a result you should see a lot of links to XML feeds with videos in the Sitemap file. In turn, you need to add a link to the Sitemap in robots.txt or using the Yandex.Webmaster service (find more information in Help).

    Putting links to XML feeds in the Sitemap file lets the Yandex robot index all videos from your hosting site immediately. This is especially useful if your site contains a lot of video content (more than 1,000 videoclips).

    These methods can be combined, i.e. you can enter links to XML feeds and simultaneously use micro markup in your Sitemap file. Combining methods speeds up videoclip indexing and the data exchange process is better able to withstand site accessibility problems that may arise.

  4. Check that your clips show up in searches.

    Links to videoclips show up in search results automatically as your Sitemap file or webpages containing semantic markup are indexed. If after some time your clips don't show up in searches, let us know using the feedback form.

Restrictions on video content

We reserve the right not to index some video content. This includes:

  • Materials published on sites that do not moderate content.

  • Videos that are offensive and/or pornographic.

  • Videos published in violation of the Russian Federation's legal code.

  • Materials hosted on sites that do not conform to the License to use the Yandex search engine.

There is no upper or lower limit on the number of videoclips you can upload. We can process any quantity of videoclips and manage databases of video material that are constantly growing.