Cookies disclaimer

I agree Our site saves small pieces of text information (cookies) on your device in order to deliver better content and for statistical purposes. You can disable the usage of cookies by changing the settings of your browser. By browsing our website without changing the browser settings you grant us permission to store that information on your device.

Video

Schema.org - Videos

Contents:

Structured Data – Video and Movies

This article looks specifically at videos and movies and how using microdata to mark them up on a website, for broader information on Schema.org mark-up code please follow the link. For extensive and definitive information on Schema.org please follow the link.

Videos are one of the most valuable assets to mark up on a site, given the time, effort and cost associated with video production it is crucial to provide them with every advantage.

Please follow the links below to see examples and explanations of how to implement Schema.org code for:

The Benefits

Google cannot determine the content of videos, so marking up your videos with microdata will enable Google to know more information about the video / movie on your site. Depending on whether you are discussing a film (in the case of IMDB below) or you have an actual video present on your site, there are a range of properties that can be specified about them.

The image below illustrates how movies can appear in the SERPs after having been marked up. As you can see, and this is indicative of all marked up SERP listings, this is a more comprehensive listing providing the searcher with more accurate and useful information with regards to movies.


The below image shows how videos can be marked up with microdata, can appear within the SERPs:

Video & Movie Types

This article covers the following two movie / video types that are supported by Schema.org microdata:

  • VideoObject
  • Movie

Properties - Movies

Although there are other properties that can be used with movie types, the below properties are specific to the movie type.

Property

Expected Type

Description

actor

Person 

A cast member of the movie, tv/radio series, season, episode, or video. Supercedes actors.

director

Person 

The director of the movie, tv/radio episode or series. Supercedes directors.

duration

Duration 

The duration of the item (movie, audio recording, event, etc.) in ISO 8601 date format.

musicBy

Person  or 

The composer of the movie or TV/radio soundtrack.

MusicGroup 

 

producer

Person 

The producer of the movie, tv/radio series, season, or episode, or video.

productionCompany

Organization 

The production company or studio that made the movie, tv/radio series, season, or episode, or media object.

trailer

VideoObject 

The trailer of a movie or tv/radio series, season, or episode.

Source: Schema.org

Implementation

Below we look at how to mark up the content on a webpage that is about the film ‘Life of Pi’:

<div itemscope itemtype="http://schema.org/Movie">
<h1 itemprop="name"> Life of Pi (2012)</h1>
<span itemprop="description"> A young man who survives a disaster at sea is hurtled into an epic journey of adventure and discovery. While cast away, he forms an unexpected connection with another survivor: a fearsome Bengal tiger.</span>

Director:
 <div itemprop="director" itemscope itemtype="http://schema.org/Person">
<span itemprop="name">Ang Lee</span>
</div>

Stars:
 <div itemprop="actor" itemscope itemtype="http://schema.org/Person">
<span itemprop="name">Suraj Sharma</span>,
 </div>
<div itemprop="actor" itemscope itemtype="http://schema.org/Person">
<span itemprop="name">Irrfan Khan</span>,
</div>
<div itemprop="actor" itemscope itemtype="http://schema.org/Person">
<span itemprop="name">Adil Hussain</span>

Production Company:
 <div itemprop="productionCompany" itemscope itemtype="http://schema.org/Organization">
<span itemprop="name">20th Century Fox</span>,
 </div>

Music By:
<div itemprop="musicBy" itemscope itemtype="http://schema.org/Person">
<span itemprop="name">Mychael Danna</span>,
 </div>

Run Time:
<meta itemprop="duration" content="T127M">127 Minutes
 </div>

The user would see the following text if they viewed a page on which this code was implemented:

Life of Pi (2012)
A young man who survives a disaster at sea is hurtled into an epic journey of adventure and discovery. While cast away, he forms an unexpected connection with another survivor: a fearsome Bengal tiger.
Director:
Ang Lee
Stars:
Suraj Sharma,
Irrfan Khan,
Adil Hussain
Production Company:
20th Century Fox,
Music By:
Mychael Danna,
Run Time:
127 Minutes

As you can see by marking up this text, with additional data we have defined each component as being an item type with specified properties. This makes the above text into rich text that Google and other search engines can read and determine to be about an actor or director, film or production company.

Properties - Video

The below table shows the properties that are specific to videos, as with movies there are a range of other properties that can be used as part of a wider group of ‘creative work’ properties. Some of these are discussed in other articles, but for the purpose of this we focus exclusively on those specific to the video item type.

Property

Expected Type

Description

caption

Text 

The caption for this object.

productionCompany

Organization 

The production company or studio that made the movie, tv/radio series, season, or episode, or media object.

thumbnail

ImageObject 

Thumbnail image for an image or video.

transcript

Text 

If this MediaObject is an AudioObject or VideoObject, the transcript of that object.

videoFrameSize

Text 

The frame size of the video.

videoQuality

Text 

The quality of the video.

Source: Schema.org

Implementation

Below we look at how to implement microdata on a webpage that contains a video of ‘funny cats’ that has been uploaded to a cat meme blog:

<div itemscope itemtype="http://schema.org/VideoObject">
<h1 itemprop="name">Funny Cats</h1>
<div itemprop="video" itemscope itemtype="http://schema.org/VideoObject">
  <h2>Video: <span itemprop="name">Cats Doing Funny Things</span></h2>
<meta itemprop="duration" content="T2M05S" />
<meta itemprop="caption">Funny Cats</ >
<meta itemprop="thumbnail" content="cat-meme-thumb.jpg" />
  <object ...>
    <param ...>
    <embed type="application/x-shockwave-flash" ...>
  </object>
  <span itemprop="description">Another classic video of cats chasing laser pointers, looking cute and fighting with their own reflections.</span>
</div>

Raptor Tools!

Our range of SEO Tools include checking for and making specific implementation instructions for Schema.org on your site. Use Raptor to find out where you have used mark-up code, if its implemented correctly and where it is missing.

Sign Up For Early Access
& Earn a Chance to Win 1 Years Free Subscription!

What You Get...

There's no obligation to become a full member after your trial, but we think that once you've seen what's available, you'll want to join us.

We are in the process of building our software and are ramping up to launch the Technical Auditing component in early 2018, soon to be followed by a suite of other components such as keyword ranking and backlink analysis.

Sign up today for 1 months free access and get a further 10% off of any package price when we launch for the first year as a reward for being an early subscriber.

Also, you will be entered into a lottery, where we will be giving away five 1-year subscriptions for free!

Sign up for early access today!