Last active
August 29, 2015 14:03
-
-
Save bavington/8a79d58d1b998a604188 to your computer and use it in GitHub Desktop.
Schema.org Video Markup for JW Player
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="myElement" itemprop="video" itemscope itemtype="http://schema.org/VideoObject"> | |
<h2 itemprop="name">Video Name or Title</h2> | |
<meta itemprop="duration" content="00:02:33" /> | |
<meta itemprop="thumbnailUrl" content="http://example.com/uploads/myPoster.jpg" /> | |
<meta itemprop="contentUrl" content="http://example.com/uploads/myVideo.mp4" /> | |
<meta itemprop="uploadDate" content="2014-01-03T08:00:00+08:00" /> | |
<span itemprop="description">The description of your video content goes here.</span> | |
<script> | |
jwplayer("myElement").setup({ | |
file: "http://example.com/uploads/myVideo.mp4", | |
image: "http://example.com/uploads/myPoster.jpg", | |
width: 640, | |
height: 360 | |
}); | |
</script> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment