Video snippet in json
Mark E.
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "VideoObject",
"name": "How to Bake a Cake",
"description": "Learn how to bake a delicious cake in this step-by-step tutorial.",
"thumbnailUrl": [
"https://example.com/thumbnail1.jpg",
"https://example.com/thumbnail2.jpg"
],
"uploadDate": "2022-03-28T10:00:00-07:00",
"duration": "PT5M30S",
"contentUrl": "https://example.com/video.mp4",
"embedUrl": "https://example.com/embed/video",
"interactionStatistic": [
{
"@type": "InteractionCounter",
"interactionType": {
"@type": "http://schema.org/WatchAction"
},
"userInteractionCount": 1000
},
{
"@type": "InteractionCounter",
"interactionType": {
"@type": "http://schema.org/LikeAction"
},
"userInteractionCount": 500
},
{
"@type": "InteractionCounter",
"interactionType": {
"@type": "http://schema.org/DislikeAction"
},
"userInteractionCount": 50
}
],
"publisher": {
"@type": "Organization",
"name": "Example Publisher",
"logo": {
"@type": "ImageObject",
"url": "https://example.com/logo.png"
}
},
"author": {
"@type": "Person",
"name": "John Doe"
}
}
</script>
This snippet includes properties such as the video's name, description, thumbnail URL, upload date, duration, content URL, embed URL, interaction statistics, publisher, and author. Note that some of these properties are optional and may not be necessary for your specific use case.