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:
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.
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).
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.
Add a link to your Yandex.Video schema in your Sitemap header.
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>
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">
<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.
Create a separate XML feed for every clip and enter the feed address in the Sitemap file in the
feedfield. Post the feed address using micro markup
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.
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.
Semantic markup (or micro markup) lets you quickly transfer information about changes to video content.
To transfer data using semantic markup:
Add micro markup to a video on your webpage
To correctly markup pages, the
htmltag must contain the namespace, and the
headelement should include
metatags with information about the video.
The namespace for the Yandex extension should be specified in the
htmltag along with the
<html prefix="og: http://ogp.me/ns# video: http://ogp.me/ns/video#">
To pass information about the video to the robot, add the markup directly to the HTML code of pages using special attributes.
Tell the robot about marked-up clips
Since Open Graph and Schema.org markup is written on the site pages themselves, for them you just have to create a standard Sitemap file with links to the webpages containing markup.
Check that your clips show up in searches.
Links to videoclips show up in search results automatically as 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.
If you have an RSS stream with updates, you can use it to send us data; we support the Media RSS format.
The elements required for indexing are
media:thumbnail. Other elements are preferred, but optional. Special symbols in the text need to be transformed into XML entities, for example,
& should become
&. You can see a complete description of the Media RSS format on www.rssboard.org.
Send a link to your stream and a description of your site using the feedback format in order for your videoclips to appear in search results.
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.