In the video search results, some videos are displayed with an animated preview. When you hover over the snippet of this kind of video, you can see an animation made from the video frames instead of a single image. The animated preview includes frames that may interest users.
This kind of animation attracts users' attention, provides more information about the video content, and increases the chances of viewing the video that's shown for a relevant query.
Enable for videos on the site
So that your site videos can have animated previews, follow these steps:
- Send video data to the search using markup.
- Add a video stream link to the markup. Please note that the video must be of good quality.XML
For XML, the stream link is specified in the
<meta property="ya:ovs:content_url" content="http://www.mywebsite.com/video/r5QNyPCDH.mp4"/>Schema.org
<div itemscope itemtype="http://schema.org/VideoObject"> <link itemprop="contentUrl" href="http://www.mywebsite.com/video/r5QNyPCDH.mp4"/>
Prohibit preview creation
If you don't want your videos to have animated previews, add a
ya:ovs:allow_previewelement with the
<meta property="og:video" content="https://www.mysite.com/iframe/yacinema/123/"/> <meta property="ya:ovs:allow_preview" content="false"/>
Note. Search algorithms process data only to generate search results (including animated previews) and to improve ranking. Yandex doesn't store, cache, or use video content for purposes that aren't related to improving video search quality.