Following is Example that how can you markup your youtube video using Mircordata format of Schema.org:
<div itemprop="video" itemscope itemtype="http://schema.org/VideoObject">
<h2>Video: <span itemprop="name">JiFi 3 complete speed test</span></h2>
<meta itemprop="duration" content="2:55" />
<meta itemprop="thumbnailUrl" content="https://i.ytimg.com/vi/DjqO-stAfk0/1.jpg?time=1495877884957" />
<meta itemprop="contentURL" content="https://youtu.be/DjqO-stAfk0" />
<meta itemprop="uploadDate" content="March 12, 2017 4:55 PM" />
<meta itemprop="expires" content="2012-01-30T19:00:00+08:00" />
<meta itemprop="height" content="400" />
<meta itemprop="width" content="400" />
<meta itemprop="description" content="jio fi wireless router">
<meta itemprop="embedURL" content="https://youtu.be/DjqO-stAfk0">
<span itemprop="name" style="display:block;">
<strong>JiFi 3 complete speed test</strong>
</span>
<iframe width="560" height="315" src="https://www.youtube.com/embed/DjqO-stAfk0" frameborder="0" allowfullscreen>
</iframe>
</div>
0 comments:
Post a Comment