01Why is the duration not just a number of seconds?
Because the property takes an ISO 8601 duration. One minute thirty-three seconds is PT1M33S, not 93. A bare number is the most common reason a duration is ignored.
Three properties are required here and the rest earn their place: a name, a thumbnail and an upload date. Fill those, then add the duration in ISO 8601 form, the URLs that let the video play, and a key moment if you have one.
{
"@context": "https://schema.org",
"@type": "VideoObject"
}Paste the script-tag version into the page’s head or body. Empty fields are left out of the output entirely rather than written as blank values, because a property present and empty is not the same as a property absent.
duration is an ISO 8601 duration, not a count of seconds: PT1M33S, not 93.
Key moments can come from a Clip you name yourself, or from a SeekToAction that lets Google find your own timestamps. This generator writes the Clip form, which is the one you control.
Generating valid markup and being eligible for a rich result are two different things. Check the output against the vocabulary with the schema markup validator, and remember that structured data describes content already on the page — it does not add any.
Because the property takes an ISO 8601 duration. One minute thirty-three seconds is PT1M33S, not 93. A bare number is the most common reason a duration is ignored.
contentUrl points at the video file's actual bytes; embedUrl points at a player for that specific video. They answer different questions and giving both is better than picking one.
Two ways. Either you mark up clips yourself, naming each segment with its start time and a URL that jumps there, or you use a SeekToAction that lets Google find your own timestamps. This generator writes the Clip form, which is the one where you choose the labels.
It has to be a URL pointing at the video's thumbnail image file, and it has to be crawlable. A thumbnail that 404s for a crawler is the same as no thumbnail, and this is a required property.
Only if the video genuinely is restricted. Listing every country you allow when you allow all of them adds noise, and getting it wrong tells Google the video is unavailable where it is not.