How to add duration to Video Object schema?

Hello,

I want to add the duration of videos to the schema video object as shown in the google recommended properties https://developers.google.com/search/docs/data-types/video#video-object

I cannot see the duration field when selecting video object properties but I see that in the https://schema.org/VideoObject duration is part of a different property the https://schema.org/MediaObject but I also cannot find it in the “select a thing”

Can you point me in the right direction?

Thank you

PS: I also saw this post https://rich-snippets.io/how-to-build-complex-structured-data/?amp but I don’t know how to adapt it for this case.

3 thoughts on “How to add duration to Video Object schema?

  1. Hey there,
    unfortunately I don’t know exactly what the point is. But can it be that you’re using schema.org/Video? You should use schema.org/VideoObject instead.

    Hope that helps.

  2. My issue is solved, I made a terrible job explaining the potential issue but after attending the course training it was actually very easy to implement, I just had to search for the duration field and add my custom type

Leave a Reply Cancel reply