Z
Z
zooby2017-05-10 22:41:08
Search Engine Optimization
zooby, 2017-05-10 22:41:08

How to properly add video to schema markup?

Good evening,
On the product page, I insert a video about the product from YouTube.
How to properly notify search engines that a page contains a video about a product taken from YouTube? Those. what needs to be added to this standard code.
Thanks for the advice.

<div itemscope itemtype="http://schema.org/Product">
<h1 itemprop="name">Имя товара</h1>
<span itemprop="description">описание</span>
<img src="http://картинка_товара.jpg" itemprop="image">
<div itemprop="offers" itemscope itemtype="http://schema.org/Offer"> 
<span itemprop="price">цена товара</span>
<span itemprop="priceCurrency">RUB</span>
</div></div>

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Stanislav Sharapov, 2017-05-11
@seoforfood

There should be such a wrapper (and not add to the product, but add to the video)

<div itemprop="video" itemscope itemtype="http://schema.org/VideoObject">
  <h2>Video: <span itemprop="name">Interview with the Foo Fighters</span></h2>
  <meta itemprop="duration" content="T1M33S" />
  <meta itemprop="thumbnail" content="foo-fighters-interview-thumb.jpg" />
  <object ...>
    <param ...>
    <embed type="application/x-shockwave-flash" ...>
  </object>
  <span itemprop="description">Catch this exclusive interview with
    Dave Grohl and the Foo Fighters about their new album, Rope.</span>
</div>

For more details see schema.org/VideoObject

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question