How to add Video Object Rich Card in website or blog

BySlide Scope

How to add Video Object Rich Card in website or blog

In order to get a Fully enhanced Rich Card for video objects in your website you have to use the Structured Data Markup for Videos.
If your website supports AMP – Accelerated Mobile Pages, then Google Search will work as an entry point for Searching and viewing videos and you will see rich cards of your video in search results.

There are three conditions or solutions to Add Video Structured Data in your website.

1. IF you are Using AMP and want to use JSON-LD code.
2. IF you are not using AMP and want to use JSON-LD code.
3. If you want to use the Microdata code for video objects which is the Standard video markup.

Video Markup results appear with a badge which encourages users to click on them.

For Case 1-
AMP and JSON-LD Code You can take reference of following code –

<script type=”application/ld+json”>
“@context”: “”,
“@type”: “VideoObject”,
“name”: “Website Development Training Using Php and MySql”,
“description”: “Learn website development from scratch. Learn the concepts of Core and Advanced PHP with MySql Database Management”,
“thumbnailUrl”: “”,
“uploadDate”: “2017-08-25T08:00:00+08:00”,
“duration”: “PT2M56S”,
“publisher”: {
“@type”: “Organization”,
“name”: “Slidescope”,
“logo”: {
“@type”: “ImageObject”,
“url”: “”,
“width”: 240,
“height”: 40
“contentUrl”: “”,
“embedUrl”: “”,
“interactionCount”: “250”

You have to replace the content of your video with our content.

Change – Name, Description,
ThumbnailUrl – Web address of the Video Thumbnail you want to show,
date of video upload in the format given above,
duration of the video in the format given – 2 minutes and 56 seconds is PT2M56S,

For Case 2
IF you want to use JSON-LD code for a non AMP version of your website you can use this code in script tags:

“@context”: “”,
“@type”: “VideoObject”,
“name”: “Your video title here”,
“description”: “Your Video description here”,
“thumbnailUrl”: “urlofthumbnail.jpg”,
“uploadDate”: “2017-02-05T08:00:00+08:00”,
“duration”: “PT2M34S”,
“contentUrl”: “”,
“embedUrl”: “”,
“interactionCount”: “1234”

For Case 3 – If You want to add schema to your page in Microdata format you have to change the HTML of you video object refering to following code :-

<div itemscope itemtype=””>
<span itemprop=”name”>Title of your video</span>
<span itemprop=”description”>Your Video description here</span>
<img itemprop=”thumbnailUrl” src=”” alt=”thumbnail text”/>
<meta itemprop=”uploadDate” content=”2015-02-05T08:00:00+08:00″/>
<meta itemprop=”duration” content=”PT1M33S” />
<link itemprop=”contentUrl” href=”″ />
<link itemprop=”embedUrl” href=”″ />
<meta itemprop=”interactionCount” content=”4321″ />

In all the cases the interaction count is the number of times the video has been interacted.

You can refer to official Google Help Page for Structured Data Type = Videos –


About the author

Slide Scope administrator

Slide Scope Posts are written by experts from Core Information Technology and Digital Marketing Industry. We have assistants from Management Science as well.

    Leave a Reply