Skip to content

Instantly share code, notes, and snippets.

@cwylie0
Created May 5, 2016 00:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cwylie0/76e373e24500ae0bb682b4bd8a18513a to your computer and use it in GitHub Desktop.
Save cwylie0/76e373e24500ae0bb682b4bd8a18513a to your computer and use it in GitHub Desktop.
Schema markup for embedded videos
<!-- Schema Markup for embedded video -->
<div itemprop="video" itemscope itemtype="http://schema.org/VideoObject">
<h2>Video: <span itemprop="name">Title</span></h2>
<meta itemprop="duration" content="T1M33S" />
<meta itemprop="thumbnailUrl" content="thumbnail.jpg" />
<meta itemprop="contentURL" content="http://www.example.com/video123.flv" />
<meta itemprop="embedURL" content="http://www.example.com/videoplayer.swf?video=123" />
<meta itemprop="uploadDate" content="2011-07-05T08:00:00+08:00" />
<meta itemprop="expires" content="2012-01-30T19:00:00+08:00" />
<meta itemprop="height" content="400" />
<meta itemprop="width" content="400" />
<object ...>
<param ...>
<embed type="application/x-shockwave-flash" ...>
</object>
<span itemprop="description">Video description</span>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment