VideoObject

This page describes the VideoObject type.

This type is derived from https://schema.org/VideoObject, which means that any of this type's properties within schema.org may also be used. Note however the properties on this page must be used in preference if a relevant property is available.

Properties

Required properties

PropertyExpected TypeDescription

@type

Must always be present and set to "@type": "VideoObject"

url

The URL for the video.

Example

"url": "https://www.youtube.com/watch?v=3fbCs0GVjgQ"

Optional properties

PropertyExpected TypeDescription

contentUrl

Actual bytes of the media object, for example the image file or video file.

Example

"contentUrl": "https://example.com/media/stayin/getfit"

embedUrl

A URL pointing to a player for a specific video. In general, this is the information in the src element of an embed tag and should not be the same as the content of the loc tag.

Example

"embedUrl": "https://example.com/media/stayin/getfit"

height

The height of the media in pixels.

Example

"height": 300

thumbnail

Array of ImageObject

The URL for a thumbnail image for the video.

width

The width of the media in pixels.

Example

"width": 400

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution License (CC-BY V4.0), and code samples are licensed under the MIT License, for anyone to access, use and share; using attribution "OpenActive".

Last updated